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
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 Details
-
handleMessage
Handle message.- Parameters:
msg- the msgmsglen- the msglen- Throws:
IOException- the io exception
-
handleEndMessage
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
-