| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|
com.newstep.solid.netio
public abstract class AccessPoint
Abstract.
Links:
Kernel Association Association Link
Associates type:
association
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
protected
| Method Summary |
|
|
public abstract void |
|
|
|
|
|
|
|
public abstract void |
|
Multiplicity:
1
Convenience method to create a proper endpoint object from it's string representation
Parameters:
text
string representation of the endpoint as it would be returned by Endpoint.toString()
Return:
the newly constructed endpoint
Abstract.
Throws:
IOException
Abstract.
Throws:
IOException
Custom properties
link:
dependency
Asynchoronously opens a channel to the remote endpoint. After a successfull return, the channel is in the OPENED
state but possibly not CONNECTED. When the channel transitions from open to connected connectionListener is
notified
Parameters:
remoteEndpoint
endpoint to open the channel to
connectionListener
listener to notify about channel's state changes
Abstract.
Throws:
IOException
Synchoronously opens a channel to the remote endpoint. After a successfull return, the channel is fully
functional for both sending and receiving (state=CONNECTED). Returns when the channel is open or the timeout
expires
Parameters:
remoteEndpoint
endpoint to open the channel to
timeout
to wait for channel to become connected in milliseconds
Abstract.
Throws:
IOException
Synchoronously opens a channel to the remote endpoint. After a successfull return, the channel is fully
functional for both sending and receiving (state=CONNECTED). It does not return until the channel is connected or
it fails
Parameters:
remoteEndpoint
endpoint to open the channel to
dataListener
listener to be notified of incomming data. CommChannelListener is a marker interface, no concrete
class implements it. Concrete classes implement derived interfaces StreamListener and MessageListener
Abstract.
Throws:
IOException
Stops listening on the endpoint
Parameters:
localEndpoint
endpoint to stop listening on
Abstract.
| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|