org.pilotix.common
Class MessageHandler

java.lang.Object
  extended by org.pilotix.common.MessageHandler

public class MessageHandler
extends java.lang.Object

Commentaire à refaire.


Constructor Summary
MessageHandler(java.net.Socket aSocket)
           
 
Method Summary
 void close()
           
 byte[] receiveNBytes(int nbByte)
           
 byte receiveOneByte()
           
 void sendBytes(byte[] bytes)
           
 void sendOneByte(byte aByte)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageHandler

public MessageHandler(java.net.Socket aSocket)
               throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

close

public void close()

sendBytes

public void sendBytes(byte[] bytes)
               throws java.lang.Exception
Throws:
java.lang.Exception

sendOneByte

public void sendOneByte(byte aByte)
                 throws java.lang.Exception
Throws:
java.lang.Exception

receiveOneByte

public byte receiveOneByte()
                    throws java.lang.Exception
Throws:
java.lang.Exception

receiveNBytes

public byte[] receiveNBytes(int nbByte)


artefarita.com/pilotix Pilotix 2003-2013 - Stilisto : G.C.