Package com.trilead.ssh2.transport
Interface MessageHandler
-
- All Known Implementing Classes:
AuthenticationManager,ChannelManager,KexManager
public interface MessageHandlerMessageHandler.- 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 voidhandleEndMessage(Throwable cause)Called to inform that no more messages will be delivered.voidhandleMessage(byte[] msg, int msglen)Handle message.
-
-
-
Method Detail
-
handleMessage
void handleMessage(byte[] msg, int msglen) throws IOExceptionHandle message.- Parameters:
msg- the msgmsglen- the msglen- Throws:
IOException- the io exception
-
handleEndMessage
void handleEndMessage(Throwable cause) throws 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:
IOException- the io exception
-
-