|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface used by ChannelOut to retreive a socket to send a message to a ChannelIn.
Field Summary | |
static String |
ITF_NAME
The default name of interface of this type. |
Method Summary | |
SocketState |
getSocket(Message message)
Returns a socket that can be used to send message to a ChannelIn |
void |
releaseSocket(SocketState socketState,
boolean error)
Releases the given SocketState . |
Field Detail |
public static final String ITF_NAME
Method Detail |
public SocketState getSocket(Message message) throws IOException, InterruptedException
message
- a message that is going to be sent to a ChannelIn
IOException
- if the socket can't be opened.
InterruptedException
- if the component is interrupted while waiting.public void releaseSocket(SocketState socketState, boolean error)
SocketState
.
socketState
- the socket state to release.error
- true
if an exception has been catched while
sending the message, false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |