rpc
Class DefaultConnection

java.lang.Object
  extended by rpc.DefaultConnection
All Implemented Interfaces:
Connection
Direct Known Subclasses:
NtlmConnection

public class DefaultConnection
extends java.lang.Object
implements Connection


Field Summary
protected  int contextId
           
protected  NetworkDataRepresentation ndr
           
protected  NdrBuffer receiveBuffer
           
protected  Security security
           
protected  NdrBuffer transmitBuffer
           
 
Constructor Summary
DefaultConnection()
           
DefaultConnection(int transmitLength, int receiveLength)
           
 
Method Summary
protected  void incomingRebind(AuthenticationVerifier verifier)
           
protected  AuthenticationVerifier outgoingRebind()
           
protected  void processIncoming(NdrBuffer buffer)
           
protected  void processOutgoing()
           
 ConnectionOrientedPdu receive(Transport transport)
           
protected  ConnectionOrientedPdu receiveFragment(Transport transport)
           
protected  void setSecurity(Security security)
           
 void transmit(ConnectionOrientedPdu pdu, Transport transport)
           
protected  void transmitFragment(ConnectionOrientedPdu fragment, Transport transport)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ndr

protected NetworkDataRepresentation ndr

transmitBuffer

protected NdrBuffer transmitBuffer

receiveBuffer

protected NdrBuffer receiveBuffer

security

protected Security security

contextId

protected int contextId
Constructor Detail

DefaultConnection

public DefaultConnection()

DefaultConnection

public DefaultConnection(int transmitLength,
                         int receiveLength)
Method Detail

transmit

public void transmit(ConnectionOrientedPdu pdu,
                     Transport transport)
              throws java.io.IOException
Specified by:
transmit in interface Connection
Throws:
java.io.IOException

receive

public ConnectionOrientedPdu receive(Transport transport)
                              throws java.io.IOException
Specified by:
receive in interface Connection
Throws:
java.io.IOException

transmitFragment

protected void transmitFragment(ConnectionOrientedPdu fragment,
                                Transport transport)
                         throws java.io.IOException
Throws:
java.io.IOException

receiveFragment

protected ConnectionOrientedPdu receiveFragment(Transport transport)
                                         throws java.io.IOException
Throws:
java.io.IOException

processIncoming

protected void processIncoming(NdrBuffer buffer)
                        throws java.io.IOException
Throws:
java.io.IOException

processOutgoing

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

setSecurity

protected void setSecurity(Security security)

incomingRebind

protected void incomingRebind(AuthenticationVerifier verifier)
                       throws java.io.IOException
Throws:
java.io.IOException

outgoingRebind

protected AuthenticationVerifier outgoingRebind()
                                         throws java.io.IOException
Throws:
java.io.IOException