@ThreadSafe
public interface RtaConnection
RtaConnectionFactory
This connection is used by the RtaSession
for all communication with the engine.
example :
RtaConnectionFactory connectionFac = new RtaConnectionFactory();
RtaConnection connection = connectionFac.getConnection(connectionUrl, "username", "", new HashMap
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the connection and release any resources used.
|
RtaSession |
createSession(java.util.Map<ConfigProperty,com.tibco.rta.property.PropertyAtom<?>> sessionProps)
Creates the session.
|
RtaSession |
createSession(java.lang.String name,
java.util.Map<ConfigProperty,com.tibco.rta.property.PropertyAtom<?>> sessionProps)
Creates the session with name
|
RtaSession createSession(java.util.Map<ConfigProperty,com.tibco.rta.property.PropertyAtom<?>> sessionProps) throws RtaException
sessionProps
- the session propsRtaException
java.lang.NullPointerException
- if any key or value in the properties is nullRtaSession createSession(java.lang.String name, java.util.Map<ConfigProperty,com.tibco.rta.property.PropertyAtom<?>> sessionProps) throws RtaException
name
- Name for session.sessionProps
- the session propsRtaException
java.lang.NullPointerException
- if any key or value in the properties is nullvoid close() throws RtaException
RtaException
- if the connection could not be closed.Copyright © 2000-2014 TIBCO Inc. All Rights Reserved.