org.apache.qpid.proton.engine
Interface Endpoint

All Known Subinterfaces:
Connection, Link, Receiver, Sender, Session, Transport

public interface Endpoint

Endpoint


Method Summary
 void close()
          transition local state to CLOSED
 void free()
          free the endpoint and any associated resources
 Object getContext()
           
 EndpointError getLocalError()
           
 EndpointState getLocalState()
           
 EndpointError getRemoteError()
           
 EndpointState getRemoteState()
           
 void open()
          transition local state to ACTIVE
 void setContext(Object o)
           
 

Method Detail

getLocalState

EndpointState getLocalState()
Returns:
the local endpoint state

getRemoteState

EndpointState getRemoteState()
Returns:
the remote endpoint state (as last communicated)

getLocalError

EndpointError getLocalError()
Returns:
the local endpoint error, or null if there is none

getRemoteError

EndpointError getRemoteError()
Returns:
the remote endpoint error, or null if there is none

free

void free()
free the endpoint and any associated resources


open

void open()
transition local state to ACTIVE


close

void close()
transition local state to CLOSED


setContext

void setContext(Object o)

getContext

Object getContext()


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.