public class ConnectionOrientedEndpoint extends Object implements Endpoint
| Modifier and Type | Field and Description |
|---|---|
static String |
CONNECTION_CONTEXT |
protected ConnectionContext |
context |
protected String |
currentIID |
BROADCAST, IDEMPOTENT, MAYBE| Constructor and Description |
|---|
ConnectionOrientedEndpoint(Transport transport,
PresentationSyntax syntax) |
| Modifier and Type | Method and Description |
|---|---|
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) |
public static final String CONNECTION_CONTEXT
protected ConnectionContext context
protected String currentIID
public ConnectionOrientedEndpoint(Transport transport, PresentationSyntax syntax)
public Transport getTransport()
getTransport in interface Endpointpublic PresentationSyntax getSyntax()
public void call(int semantics,
UUID object,
int opnum,
NdrObject ndrobj)
throws IOException
call in interface EndpointIOExceptionprotected void rebind()
throws IOException
IOExceptionprotected void bind()
throws IOException
IOExceptionprotected void send(ConnectionOrientedPdu request) throws IOException
IOExceptionprotected ConnectionOrientedPdu receive() throws IOException
IOExceptionpublic void detach()
throws IOException
detach in interface EndpointIOExceptionprotected ConnectionContext createContext() throws ProviderException
ProviderExceptionCopyright © 2017 LSST. All rights reserved.