org.jboss.narayana.blacktie.jatmibroker.xatmi.impl
Class TPSVCINFO_Impl

java.lang.Object
  extended by org.jboss.narayana.blacktie.jatmibroker.xatmi.impl.TPSVCINFO_Impl
All Implemented Interfaces:
Serializable, TPSVCINFO

public class TPSVCINFO_Impl
extends Object
implements Serializable, TPSVCINFO

This structure contains the data that the client presented for processing to the service during its invocation from either tpcall, tpacall or tpconnect.

See Also:
Serialized Form

Constructor Summary
TPSVCINFO_Impl(String name, Buffer buffer, int flags, Session session, Connection connection, int len)
          Create a new tpsvcinfo wrapper class
 
Method Summary
 Buffer getBuffer()
          Get the data
 Connection getConnection()
          Get a reference to the connection that the service holds.
 int getFlags()
          Get the flags that were issued
 int getLen()
          Get the length of the buffer that was sent
 String getName()
          Get the name of the service the client thought it invoked
 Session getSession()
          Get the connection descriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TPSVCINFO_Impl

public TPSVCINFO_Impl(String name,
                      Buffer buffer,
                      int flags,
                      Session session,
                      Connection connection,
                      int len)
Create a new tpsvcinfo wrapper class

Parameters:
name - The name of the service
buffer - The data sent by the client
flags - The flags that the client issued
session - The connection descriptor used
connection - The connection to use
len - The length of the said data
Method Detail

getName

public String getName()
Get the name of the service the client thought it invoked

Specified by:
getName in interface TPSVCINFO
Returns:
The name

getBuffer

public Buffer getBuffer()
Get the data

Specified by:
getBuffer in interface TPSVCINFO
Returns:
The data

getLen

public int getLen()
Get the length of the buffer that was sent

Specified by:
getLen in interface TPSVCINFO
Returns:
The length of the buffer

getFlags

public int getFlags()
Get the flags that were issued

Specified by:
getFlags in interface TPSVCINFO
Returns:
The flags

getSession

public Session getSession()
                   throws ConnectionException
Get the connection descriptor

Specified by:
getSession in interface TPSVCINFO
Returns:
The connection descriptor
Throws:
ConnectionException

getConnection

public Connection getConnection()
Get a reference to the connection that the service holds.

Specified by:
getConnection in interface TPSVCINFO
Returns:
The connection


Copyright © 2013. All Rights Reserved.