rpc
Class ConnectionOrientedEndpoint

java.lang.Object
  extended by rpc.ConnectionOrientedEndpoint
All Implemented Interfaces:
Endpoint

public class ConnectionOrientedEndpoint
extends java.lang.Object
implements Endpoint


Field Summary
static java.lang.String CONNECTION_CONTEXT
           
protected  ConnectionContext context
           
protected  java.lang.String currentIID
           
 
Fields inherited from interface rpc.Endpoint
BROADCAST, IDEMPOTENT, MAYBE
 
Constructor Summary
ConnectionOrientedEndpoint(Transport transport, PresentationSyntax syntax)
           
 
Method Summary
protected  void bind()
           
 void call(int semantics, UUID object, int opnum, NdrObject ndrobj)
           
protected  ConnectionContext createContext()
           
 void detach()
           
 PresentationSyntax getSyntax()
           
 Transport getTransport()
           
protected  void rebind()
           
protected  ConnectionOrientedPdu receive()
           
protected  void send(ConnectionOrientedPdu request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONNECTION_CONTEXT

public static final java.lang.String CONNECTION_CONTEXT
See Also:
Constant Field Values

context

protected ConnectionContext context

currentIID

protected java.lang.String currentIID
Constructor Detail

ConnectionOrientedEndpoint

public ConnectionOrientedEndpoint(Transport transport,
                                  PresentationSyntax syntax)
Method Detail

getTransport

public Transport getTransport()
Specified by:
getTransport in interface Endpoint

getSyntax

public PresentationSyntax getSyntax()
Specified by:
getSyntax in interface Endpoint

call

public void call(int semantics,
                 UUID object,
                 int opnum,
                 NdrObject ndrobj)
          throws java.io.IOException
Specified by:
call in interface Endpoint
Throws:
java.io.IOException

rebind

protected void rebind()
               throws java.io.IOException
Throws:
java.io.IOException

bind

protected void bind()
             throws java.io.IOException
Throws:
java.io.IOException

send

protected void send(ConnectionOrientedPdu request)
             throws java.io.IOException
Throws:
java.io.IOException

receive

protected ConnectionOrientedPdu receive()
                                 throws java.io.IOException
Throws:
java.io.IOException

detach

public void detach()
            throws java.io.IOException
Specified by:
detach in interface Endpoint
Throws:
java.io.IOException

createContext

protected ConnectionContext createContext()
                                   throws ProviderException
Throws:
ProviderException