Package com.trilead.ssh2.transport
Interface MessageHandler
-
- All Known Implementing Classes:
AuthenticationManager
,ChannelManager
,KexManager
public interface MessageHandler
MessageHandler.- Version:
- $Id : MessageHandler.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $
- Author:
- Christian Plattner, plattner@trilead.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleEndMessage(java.lang.Throwable cause)
Called to inform that no more messages will be delivered.void
handleMessage(byte[] msg, int msglen)
Handle message.
-
-
-
Method Detail
-
handleMessage
void handleMessage(byte[] msg, int msglen) throws java.io.IOException
Handle message.- Parameters:
msg
- the msgmsglen
- the msglen- Throws:
java.io.IOException
- the io exception
-
handleEndMessage
void handleEndMessage(java.lang.Throwable cause) throws java.io.IOException
Called to inform that no more messages will be delivered.- Parameters:
cause
- For diagnosis, the reason that caused the transport to close down.- Throws:
java.io.IOException
- the io exception
-
-