annotate src/com/trilead/ssh2/transport/MessageHandler.java @ 107:afe6962769b9
use hash map rather than linear search thru arrays
author |
Carl Byington <carl@five-ten-sg.com> |
date |
Wed, 18 Jun 2014 11:43:08 -0700 |
parents |
0ce5cc452d02 |
children |
|
rev |
line source |
0
|
1 package com.trilead.ssh2.transport;
|
|
2
|
|
3 import java.io.IOException;
|
|
4
|
|
5 /**
|
|
6 * MessageHandler.
|
|
7 *
|
|
8 * @author Christian Plattner, plattner@trilead.com
|
|
9 * @version $Id: MessageHandler.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $
|
|
10 */
|
|
11 public interface MessageHandler {
|
|
12 public void handleMessage(byte[] msg, int msglen) throws IOException;
|
|
13 }
|