FileDocCategorySizeDatePackage
UnknownServiceContext.javaAPI DocJava SE 5 API1263Fri Aug 26 14:54:40 BST 2005com.sun.corba.se.spi.servicecontext

UnknownServiceContext

public class UnknownServiceContext extends ServiceContext

Fields Summary
private int
id
private byte[]
data
Constructors Summary
public UnknownServiceContext(int id, byte[] data)

	this.id = id ;
	this.data = data ;
    
public UnknownServiceContext(int id, InputStream is)

	this.id = id ;

	int len = is.read_long();
	data = new byte[len];
	is.read_octet_array(data,0,len);
    
Methods Summary
public byte[]getData()

	return data ;
    
public intgetId()

 return id ; 
public voidwrite(org.omg.CORBA_2_3.portable.OutputStream os, com.sun.corba.se.spi.ior.iiop.GIOPVersion gv)

	os.write_long( id ) ;
	os.write_long( data.length ) ;
	os.write_octet_array( data, 0, data.length ) ;
    
public voidwriteData(org.omg.CORBA_2_3.portable.OutputStream os)