public interface Session
Connection invocation for a client or retrieved from the
TPSVCINFO structure for a service (assuming the service was invoked within
the scope of a tpconnect).
It is used to send and retrieve dataConnection#tpconnect(String, Buffer, int, int),
TPSVCINFO.getSession()int tpsend(Buffer toSend, int flags) throws ConnectionException
toSend - The outbound datalen - The length of the dataflags - The flags to useConnectionException - If the message cannot be sent.Buffer tprecv(int flags) throws ConnectionException, org.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationException
flags - The flags to useConnectionException - If the message cannot be received or the flags are incorrectorg.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationExceptionvoid tpdiscon()
throws ConnectionException
ConnectionExceptionCopyright © 2013. All Rights Reserved.