public class DefaultConnection extends Object implements Connection
| Modifier and Type | Field and Description |
|---|---|
protected int |
contextId |
protected NetworkDataRepresentation |
ndr |
protected NdrBuffer |
receiveBuffer |
protected Security |
security |
protected NdrBuffer |
transmitBuffer |
| Constructor and Description |
|---|
DefaultConnection() |
DefaultConnection(int transmitLength,
int receiveLength) |
| Modifier and Type | Method and Description |
|---|---|
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) |
protected NetworkDataRepresentation ndr
protected NdrBuffer transmitBuffer
protected NdrBuffer receiveBuffer
protected Security security
protected int contextId
public DefaultConnection()
public DefaultConnection(int transmitLength,
int receiveLength)
public void transmit(ConnectionOrientedPdu pdu, Transport transport) throws IOException
transmit in interface ConnectionIOExceptionpublic ConnectionOrientedPdu receive(Transport transport) throws IOException
receive in interface ConnectionIOExceptionprotected void transmitFragment(ConnectionOrientedPdu fragment, Transport transport) throws IOException
IOExceptionprotected ConnectionOrientedPdu receiveFragment(Transport transport) throws IOException
IOExceptionprotected void processIncoming(NdrBuffer buffer) throws IOException
IOExceptionprotected void processOutgoing()
throws IOException
IOExceptionprotected void setSecurity(Security security)
protected void incomingRebind(AuthenticationVerifier verifier) throws IOException
IOExceptionprotected AuthenticationVerifier outgoingRebind() throws IOException
IOExceptionCopyright © 2017 LSST. All rights reserved.