| Modifier and Type | Method and Description |
|---|---|
BufferImpl |
DefaultCodecImpl.decode(String type,
String subtype,
byte[] data,
int len) |
byte[] |
DefaultCodecImpl.encode(BufferImpl buf) |
| Modifier and Type | Class and Description |
|---|---|
class |
ResponseException
This is the exception that is raised if a response condition needs to be notified to the client.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Connection.close()
Close any resources associated with this connection
|
byte |
X_C_TYPE.getByte(String key) |
byte |
X_COMMON.getByte(String key) |
byte[] |
X_C_TYPE.getByteArray(String key) |
byte[] |
X_COMMON.getByteArray(String key) |
byte[][] |
X_C_TYPE.getByteArrayArray(String key) |
double |
X_C_TYPE.getDouble(String key) |
double[] |
X_C_TYPE.getDoubleArray(String key) |
float |
X_C_TYPE.getFloat(String key) |
float[] |
X_C_TYPE.getFloatArray(String key) |
int |
X_C_TYPE.getInt(String key) |
int[] |
X_C_TYPE.getIntArray(String key) |
long |
X_C_TYPE.getLong(String key) |
long |
X_COMMON.getLong(String key) |
long[] |
X_C_TYPE.getLongArray(String key) |
long[] |
X_COMMON.getLongArray(String key) |
Session |
TPSVCINFO.getSession()
Get the connection descriptor
|
short |
X_C_TYPE.getShort(String key)
Get the short value identified by the key.
|
short |
X_COMMON.getShort(String key)
Get the short value identified by the key.
|
short[] |
X_C_TYPE.getShortArray(String key) |
short[] |
X_COMMON.getShortArray(String key) |
protected void |
BlackTieService.processMessage(String serviceName,
org.jboss.narayana.blacktie.jatmibroker.core.transport.Message message)
Entry points should pass control to this method as soon as reasonably possible.
|
void |
X_C_TYPE.setByte(String key,
byte value) |
void |
X_COMMON.setByte(String key,
byte value) |
void |
X_C_TYPE.setByteArray(String key,
byte[] value) |
void |
X_COMMON.setByteArray(String key,
byte[] value) |
void |
X_C_TYPE.setByteArrayArray(String key,
byte[][] value) |
void |
X_C_TYPE.setDouble(String key,
double value) |
void |
X_C_TYPE.setDoubleArray(String key,
double[] value) |
void |
X_C_TYPE.setFloat(String key,
float value) |
void |
X_C_TYPE.setFloatArray(String key,
float[] value) |
void |
X_C_TYPE.setInt(String key,
int value) |
void |
X_C_TYPE.setIntArray(String key,
int[] value) |
void |
X_C_TYPE.setLong(String key,
long value) |
void |
X_COMMON.setLong(String key,
long value) |
void |
X_C_TYPE.setLongArray(String key,
long[] value) |
void |
X_COMMON.setLongArray(String key,
long[] value) |
void |
X_C_TYPE.setShort(String key,
short value)
Set the short value
|
void |
X_COMMON.setShort(String key,
short value)
Set the short value
|
void |
X_C_TYPE.setShortArray(String key,
short[] value) |
void |
X_COMMON.setShortArray(String key,
short[] value) |
int |
Connection.tpacall(String svc,
Buffer toSend,
int flags)
Asynchronous call
|
Buffer |
Connection.tpalloc(String type,
String subtype)
Allocate a new buffer
|
Response |
Connection.tpcall(String svc,
Buffer buffer,
int flags)
Synchronous call.
|
int |
Connection.tpcancel(int cd)
Cancel the outstanding asynchronous call.
|
Session |
Connection.tpconnect(String svc,
Buffer toSend,
int flags)
Handle the initiation of a conversation with the server.
|
void |
Session.tpdiscon()
Close the conversation with the remote service.
|
Response |
Connection.tpgetrply(int cd,
int flags)
Get the reply for an asynchronous call.
|
Buffer |
Session.tprecv(int flags)
Received the next response in a conversation
|
int |
Session.tpsend(Buffer toSend,
int flags)
Send a buffer to a remote server in a conversation
|
Response |
Service.tpservice(TPSVCINFO svcinfo)
This is a method that should be implemented by classes to provide the service behavior
|
| Modifier and Type | Method and Description |
|---|---|
void |
SessionImpl.close()
Close the session
|
void |
ConnectionImpl.close()
Close any resources associated with this connection
|
SessionImpl |
ConnectionImpl.createServiceSession(String name,
int cd,
Object replyTo)
Used by the service side to create a session for handling the client
request.
|
void |
BufferImpl.deserialize(byte[] data)
Deserialize the buffer.
|
protected Object |
BufferImpl.getAttributeValue(String key,
Class type)
Get the value of an attribute.
|
byte |
X_C_TYPE_Impl.getByte(String key) |
byte |
X_COMMON_Impl.getByte(String key) |
byte[] |
X_C_TYPE_Impl.getByteArray(String key) |
byte[] |
X_COMMON_Impl.getByteArray(String key) |
byte[][] |
X_C_TYPE_Impl.getByteArrayArray(String key) |
double |
X_C_TYPE_Impl.getDouble(String key) |
double[] |
X_C_TYPE_Impl.getDoubleArray(String key) |
float |
X_C_TYPE_Impl.getFloat(String key) |
float[] |
X_C_TYPE_Impl.getFloatArray(String key) |
int |
X_C_TYPE_Impl.getInt(String key) |
int[] |
X_C_TYPE_Impl.getIntArray(String key) |
long |
X_C_TYPE_Impl.getLong(String key) |
long |
X_COMMON_Impl.getLong(String key) |
long[] |
X_C_TYPE_Impl.getLongArray(String key) |
long[] |
X_COMMON_Impl.getLongArray(String key) |
Session |
TPSVCINFO_Impl.getSession()
Get the connection descriptor
|
short |
X_C_TYPE_Impl.getShort(String key)
Get the short value identified by the key.
|
short |
X_COMMON_Impl.getShort(String key)
Get the short value identified by the key.
|
short[] |
X_C_TYPE_Impl.getShortArray(String key) |
short[] |
X_COMMON_Impl.getShortArray(String key) |
byte[] |
BufferImpl.serialize()
Serialize the buffer.
|
protected void |
BufferImpl.setAttributeValue(String key,
Class type,
Object value)
Set the value.
|
void |
X_C_TYPE_Impl.setByte(String key,
byte value) |
void |
X_COMMON_Impl.setByte(String key,
byte value) |
void |
X_C_TYPE_Impl.setByteArray(String key,
byte[] value) |
void |
X_COMMON_Impl.setByteArray(String key,
byte[] value) |
void |
X_C_TYPE_Impl.setByteArrayArray(String key,
byte[][] value) |
void |
X_C_TYPE_Impl.setDouble(String key,
double value) |
void |
X_C_TYPE_Impl.setDoubleArray(String key,
double[] value) |
void |
X_C_TYPE_Impl.setFloat(String key,
float value) |
void |
X_C_TYPE_Impl.setFloatArray(String key,
float[] value) |
void |
X_C_TYPE_Impl.setInt(String key,
int value) |
void |
X_C_TYPE_Impl.setIntArray(String key,
int[] value) |
void |
X_C_TYPE_Impl.setLong(String key,
long value) |
void |
X_COMMON_Impl.setLong(String key,
long value) |
void |
X_C_TYPE_Impl.setLongArray(String key,
long[] value) |
void |
X_COMMON_Impl.setLongArray(String key,
long[] value) |
void |
X_C_TYPE_Impl.setShort(String key,
short value)
Set the short value
|
void |
X_COMMON_Impl.setShort(String key,
short value)
Set the short value
|
void |
X_C_TYPE_Impl.setShortArray(String key,
short[] value) |
void |
X_COMMON_Impl.setShortArray(String key,
short[] value) |
int |
ConnectionImpl.tpacall(String svc,
Buffer toSend,
int flags)
Asynchronous call
|
Buffer |
ConnectionImpl.tpalloc(String type,
String subtype)
Allocate a new buffer
|
Response |
ConnectionImpl.tpcall(String svc,
Buffer buffer,
int flags)
Synchronous call.
|
int |
ConnectionImpl.tpcancel(int cd)
Cancel the outstanding asynchronous call.
|
Session |
ConnectionImpl.tpconnect(String svc,
Buffer toSend,
int flags)
Handle the initiation of a conversation with the server.
|
void |
SessionImpl.tpdiscon()
Close the conversation with the remote service.
|
Response |
ConnectionImpl.tpgetrply(int cd,
int flags)
Get the reply for an asynchronous call.
|
Buffer |
SessionImpl.tprecv(int flags)
Received the next response in a conversation
|
int |
SessionImpl.tpsend(Buffer toSend,
int flags)
Send a buffer to a remote server in a conversation
|
| Constructor and Description |
|---|
X_C_TYPE_Impl(String subtype)
The constructor is hidden as the
Connection factory method should be used instead. |
X_COMMON_Impl(String subtype)
The constructor is hidden as a
Connection should be used to allocate the object. |
X_OCTET_Impl(String subtype)
The constructor is hidden as it should be created from the Connection factory method.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BlackTieServer.shutdown()
Shutdown the server
|
void |
BlackTieServer.tpadvertise(String serviceName,
String serviceClassName)
Advertise a blacktie service with the specified name
|
void |
BlackTieServer.tpunadvertise(String serviceName)
Unadvertise the service by name.
|
| Constructor and Description |
|---|
BlackTieServer(String serverName)
Initialize the server
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.