JavaTM 2 Platform
Std. Ed. v1.4.2

Class ServiceContext

  extended byorg.omg.IOP.ServiceContext
All Implemented Interfaces:
IDLEntity, Serializable

public final class ServiceContext
extends Object
implements IDLEntity

Service-specific information to be passed implicitly with requests and replies. Service contexts are composed of service ids and associated data.

Field Summary
 byte[] context_data
          The data associated with this service context
 int context_id
          The service context id
Constructor Summary
ServiceContext(int _context_id, byte[] _context_data)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


public int context_id
The service context id


public byte[] context_data
The data associated with this service context

Constructor Detail


public ServiceContext()


public ServiceContext(int _context_id,
                      byte[] _context_data)

JavaTM 2 Platform
Std. Ed. v1.4.2

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.