| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|
com.newstep.solid.comm
All Implemented Interfaces:
Channel
public abstract class AbstractChannel
Abstract.
Implements:
Channel
Links:
Kernel Association Association Link
Associates type:
aggregation
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Supplier cardinality:
0..1
Supplier navigability:
NAVIGABLE
Supplier visibility:
private
Custom properties
link:
aggregation
Kernel Association Association Link
Associates type:
aggregation
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
private
Custom properties
link:
aggregation
Kernel Association Association Link
Associates type:
aggregation
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
private
Custom properties
associates:
ChannelStatusListener
link:
aggregation
Implementation Implementation Link
| Field Summary |
|
|
|
|
|
|
protected static Logger |
|
|
|
private List |
|
| Constructor Summary |
public void |
|
| Method Summary |
public void |
|
protected void |
|
public abstract void |
|
|
|
|
|
|
|
|
|
protected void |
|
public abstract void |
|
public void |
|
public void |
|
public void |
|
public String |
|
public abstract void |
|
Multiplicity:
1
protected static Logger logger
Multiplicity:
1
Static.
Multiplicity:
1
private List statusListeners
Multiplicity:
1
Custom properties
associates:
ChannelStatusListener
public void AbstractChannel ()
Stereotype:
create
Channel interface .Adds a channel status listener to this channel's
status listeners list
Parameters:
listener
ChannelStatusListener
protected void cleanListeners ()
Cleans the status listener list and gives the garbagge collector a
helping hand.
public abstract void close ()
Channel interface . Closes the channel.
Abstract.
Throws:
ChannelException
Channel interface. Returns this channel's listener.
Return:
ChannelListener
public abstract Address getLocalAddress ()
Channel interface. Returns the local address of a channel
Abstract.
public abstract Address getRemoteAddress ()
Channel interface . Return the remote address of a channel
Abstract.
Returns the channel state
Return:
ChannelState
Sets the state and notifies any status listeners of a change in state.
Parameters:
newState
ChannelState
public abstract void open ()
Channel interface. Opens the channel
Abstract.
Throws:
ChannelException
removeChannelStatusListener
Channel interface . Removes a channel listener to this channel's status
listeners list
Parameters:
listener
ChannelStatusListener
Channel interface. Sets this channel's listener.
Parameters:
listener
ChannelListener
Sets the channel state
Parameters:
newState
ChannelState
public String toString ()
public abstract void write (Message message)
Channel interface. Writes a message to this channel.
Parameters:
message
Message
Abstract.
Throws:
ChannelException
| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|