VisiBroker for Java

org.omg.IOP
Class ServiceContext

java.lang.Object
  extended by org.omg.IOP.ServiceContext
All Implemented Interfaces:
java.io.Serializable, IDLEntity

public final class ServiceContext
extends java.lang.Object
implements IDLEntity

This class represents service-specific context information that is passed along with a request or reply. Helper and Holder versions of this class are also provided.

See Also:
Serialized Form

Field Summary
 byte[] context_data
          The context data associated with the particular service identified by the Context_id.
 int context_id
          Identifies a particular service and data format.
 
Constructor Summary
ServiceContext()
           
ServiceContext(int context_id, byte[] context_data)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

context_id

public int context_id
Identifies a particular service and data format.


context_data

public byte[] context_data
The context data associated with the particular service identified by the Context_id. The context data is encoded in a service-specific format and then encapsulated as a sequence of octets.

Constructor Detail

ServiceContext

public ServiceContext()

ServiceContext

public ServiceContext(int context_id,
                      byte[] context_data)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

Borland Software Corporation
http://www.borland.com
100 Enterprise Way
Scotts Valley, CA 95066
Voice: (831) 431-1000
pubsweb@borland.com

Read the latest documentation online