|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CloseChannelCallback
Callback interface for channel close operation. When a BEEP peer wants to close a channel it sends a close channel request to the other peer. The other peer can either accept the request or decline it. A declined request has the effect that the channel is still alive. There is no way to close a channel for sure.
Method Summary | |
---|---|
void |
closeAccepted()
Invoked by the framework if the channel close request has been accepted. |
void |
closeDeclined(int code,
java.lang.String message)
Invoked by the framework if the channel close request has been declined. |
Method Detail |
---|
void closeAccepted()
ChannelHandler#channelClosed(Channel)
method.
void closeDeclined(int code, java.lang.String message)
code
- the code, which is meaningful to a programmessage
- the message, which is meaningful to humans
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |