ist.palcom.communication
Class ChunkMailerThread

java.lang.Object
  extended by ist.palcom.palcomthreads.PalcomThread
      extended by ist.palcom.palcomthreads.PalcomPriorityThread
          extended by ist.palcom.communication.ChunkMailerThread

public class ChunkMailerThread
extends PalcomPriorityThread


Field Summary
static int CHUNK_SIZE
           
static String CMT_COMMANDID_ACK
           
static String CMT_COMMANDID_DATA
           
static String CMT_COMMANDID_SYNC
           
 
Constructor Summary
ChunkMailerThread(ServiceProxy proxy, HmapMirrorerCommunication2 comm)
           
 
Method Summary
 void mirrorIn(byte[] bytePath, byte[] byteCommand, byte[] byteParams)
           
 void mirrorOut(HmapPath path, String hmapCommand, HmapNode params)
           
 void run()
          This method is overridden by subclasses.
 
Methods inherited from class ist.palcom.palcomthreads.PalcomPriorityThread
getPriority, setPriority
 
Methods inherited from class ist.palcom.palcomthreads.PalcomThread
askEvent, disableIOEvents, disablePeriodicEvents, enableIOEvent, enablePeriodicEvents, getScheduler, putEvent, terminate, waitEvent, yield
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, println, toString
 

Field Detail

CMT_COMMANDID_SYNC

public static final String CMT_COMMANDID_SYNC
See Also:
Constant Field Values

CMT_COMMANDID_DATA

public static final String CMT_COMMANDID_DATA
See Also:
Constant Field Values

CMT_COMMANDID_ACK

public static final String CMT_COMMANDID_ACK
See Also:
Constant Field Values

CHUNK_SIZE

public static final int CHUNK_SIZE
See Also:
Constant Field Values
Constructor Detail

ChunkMailerThread

public ChunkMailerThread(ServiceProxy proxy,
                         HmapMirrorerCommunication2 comm)
Method Detail

mirrorOut

public void mirrorOut(HmapPath path,
                      String hmapCommand,
                      HmapNode params)

mirrorIn

public void mirrorIn(byte[] bytePath,
                     byte[] byteCommand,
                     byte[] byteParams)

run

public void run()
Description copied from class: PalcomThread
This method is overridden by subclasses.

Overrides:
run in class PalcomThread