public interface Connection
ConnectionFactory.getConnection()| Modifier and Type | Field and Description |
|---|---|
static int |
TPCONV |
static int |
TPEBADDESC |
static int |
TPEBLOCK |
static int |
TPEEVENT |
static int |
TPEINVAL |
static int |
TPEITYPE |
static int |
TPELIMIT |
static int |
TPEMATCH |
static int |
TPENOENT |
static int |
TPEOS |
static int |
TPEOTYPE |
static int |
TPEPROTO |
static int |
TPESVCERR |
static int |
TPESVCFAIL |
static int |
TPESYSTEM |
static int |
TPETIME |
static int |
TPETRAN |
static long |
TPEV_DISCONIMM |
static long |
TPEV_SENDONLY |
static long |
TPEV_SVCERR |
static long |
TPEV_SVCFAIL |
static long |
TPEV_SVCSUCC |
static short |
TPFAIL |
static int |
TPGETANY |
static int |
TPGOTSIG |
static int |
TPNOBLOCK |
static int |
TPNOCHANGE |
static int |
TPNOREPLY |
static int |
TPNOTIME |
static int |
TPNOTRAN |
static int |
TPRECVONLY |
static int |
TPSENDONLY |
static int |
TPSIGRSTRT |
static short |
TPSUCCESS |
static int |
TPTRAN |
static int |
XATMI_SERVICE_NAME_LENGTH |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close any resources associated with this connection
|
int |
tpacall(String svc,
Buffer toSend,
int flags)
Asynchronous call
|
Buffer |
tpalloc(String type,
String subtype)
Allocate a new buffer
|
Response |
tpcall(String svc,
Buffer buffer,
int flags)
Synchronous call.
|
int |
tpcancel(int cd)
Cancel the outstanding asynchronous call.
|
Session |
tpconnect(String svc,
Buffer toSend,
int flags)
Handle the initiation of a conversation with the server.
|
Response |
tpgetrply(int cd,
int flags)
Get the reply for an asynchronous call.
|
static final int TPNOBLOCK
static final int TPSIGRSTRT
static final int TPNOREPLY
static final int TPNOTRAN
static final int TPTRAN
static final int TPNOTIME
static final int TPGETANY
static final int TPNOCHANGE
static final int TPCONV
static final int TPSENDONLY
static final int TPRECVONLY
static final int TPEBADDESC
static final int TPEBLOCK
static final int TPEINVAL
static final int TPELIMIT
static final int TPENOENT
static final int TPEOS
static final int TPEPROTO
static final int TPESVCERR
static final int TPESVCFAIL
static final int TPESYSTEM
static final int TPETIME
static final int TPETRAN
static final int TPGOTSIG
static final int TPEITYPE
static final int TPEOTYPE
static final int TPEEVENT
static final int TPEMATCH
static final short TPFAIL
static final short TPSUCCESS
static final long TPEV_DISCONIMM
static final long TPEV_SVCERR
static final long TPEV_SVCFAIL
static final long TPEV_SVCSUCC
static final long TPEV_SENDONLY
static final int XATMI_SERVICE_NAME_LENGTH
Buffer tpalloc(String type, String subtype) throws ConnectionException, org.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationException
type - The type of the buffersubtype - The subtype of the bufferConnectionException - If the buffer was unknown or invalid.org.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationExceptionResponse tpcall(String svc, Buffer buffer, int flags) throws ConnectionException, org.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationException
svc - The name of the service to callbuffer - The inbound dataflags - The flags to useConnectionException - If the service cannot be contacted.org.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationExceptionint tpacall(String svc, Buffer toSend, int flags) throws ConnectionException
svc - The name of the service to calltoSend - The inbound dataflags - The flags to useConnectionException - If the service cannot be contacted.int tpcancel(int cd)
throws ConnectionException
cd - The connection descriptorConnectionException - If the client cannot be cleaned up.Response tpgetrply(int cd, int flags) throws ConnectionException, org.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationException
cd - The connection descriptor to useflags - The flags to useConnectionException - If the service cannot be contacted.org.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationExceptionSession tpconnect(String svc, Buffer toSend, int flags) throws ConnectionException
svc - The name of the servicetoSend - The outbound bufferflags - The flags to useConnectionException - If the service cannot be contacted.void close()
throws ConnectionException
ConnectionException - If an open session cannot be cancelled or disconnected.Copyright © 2015 JBoss by Red Hat. All Rights Reserved.