ist.palcom.hmap
Class HmapMirrorerCommunication

java.lang.Object
  extended by ist.palcom.hmap.HmapNode
      extended by ist.palcom.hmap.HmapDir
          extended by ist.palcom.hmap.HmapMirrorerCommunication

public class HmapMirrorerCommunication
extends HmapDir


Nested Class Summary
 class HmapMirrorerCommunication.ChunkMailer
           
 class HmapMirrorerCommunication.HmapMirrorerCommunicationHandler
           
 class HmapMirrorerCommunication.HmapMirrorerCommunicationInvokator
           
 class HmapMirrorerCommunication.HmapMirrorerCommunicationThread
           
 class HmapMirrorerCommunication.SyncThread
           
 
Nested classes/interfaces inherited from class ist.palcom.hmap.HmapDir
HmapDir.EntryHandler
 
Nested classes/interfaces inherited from class ist.palcom.hmap.HmapNode
HmapNode.NameHandler
 
Field Summary
static int CHUNK_SIZE
           
 HmapMirrorerCommunication.HmapMirrorerCommunicationInvokator commInvokator
           
static String HMAPMIRRORERCOMMUNICATION_COMMAND_SENDMESSAGE
           
static String HMAPMIRRORERCOMMUNICATION_NAME
           
static String HMAPMIRRORERCOMMUNICATION_SYNC_COMMAND_DATA
           
static String HMAPMIRRORERCOMMUNICATION_SYNC_COMMAND_DATA_CHUNKED
           
static String HMAPMIRRORERCOMMUNICATION_SYNC_COMMAND_GET
           
static String HMAPMIRRORERCOMMUNICATION_SYNC_COMMAND_GOT
           
static String HMAPMIRRORERCOMMUNICATION_SYNC_COMMAND_GOT_CHUNK
           
static String HMAPMIRRORERCOMMUNICATION_SYNC_ROLE_PULL
           
static String HMAPMIRRORERCOMMUNICATION_SYNC_ROLE_PUSH
           
static String HMAPMIRRORERCOMMUNICATION_SYNC_ROLE_PUSHPULL
           
static String HMAPMIRRORERCOMMUNICATION_SYNCED_NAME
           
 
Fields inherited from class ist.palcom.hmap.HmapDir
entries, HMAPDIR_COMMAND_ADDNODE, HMAPDIR_COMMAND_REMOVENODE
 
Fields inherited from class ist.palcom.hmap.HmapNode
HET_DIR, HET_LEAF, HET_UNKNOWN, HMAPNODE_COMMAND_GETNAME, HMAPNODE_COMMAND_SETNAME, nameInvokator, nodeInvokator, parent, path, valueInvokator
 
Constructor Summary
HmapMirrorerCommunication(DeviceContext context, HmapPath mirrorPath, ServiceProxy serviceProxy, String mirrorRole)
           
 
Method Summary
 PalcomPriorityThread getCommThread()
           
 void start()
           
 
Methods inherited from class ist.palcom.hmap.HmapDir
_addNode, addNode, addNode, invokeHandlers, invokeHandlersDown, invokeHandlersUp, isAncestorOf, iterator, recalculatePath, removeNode, removeNode, removeNode, resolve, resolveLocally, toString, toString, toStringAll, toStringFlat
 
Methods inherited from class ist.palcom.hmap.HmapNode
addHandler, addInvokator, addListener, asDir, asLeaf, callback, getFullyQualifiedType, getHmapEntryType, getKey, getName, getParent, getPath, getType, getTypeVersion, handle, handlerIterator, hasHandlers, hasInvokators, hasListeners, hasName, hasType, invokation, invokatorIterator, invokeListeners, isDir, isLeaf, listenerIterator, printHandlers, printInvokators, printListeners, recalculatePath, removeHandler, removeInvocator, removeListener, resolve, resolve, resolveDir, resolveDir, resolveDirLocally, resolveDirLocally, resolveLeaf, resolveLeaf, resolveLeafLocally, resolveLeafLocally, resolveLocally, resolveLocally, setName, setName, setParent
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, println
 

Field Detail

HMAPMIRRORERCOMMUNICATION_NAME

public static final String HMAPMIRRORERCOMMUNICATION_NAME
See Also:
Constant Field Values

HMAPMIRRORERCOMMUNICATION_SYNCED_NAME

public static final String HMAPMIRRORERCOMMUNICATION_SYNCED_NAME
See Also:
Constant Field Values

HMAPMIRRORERCOMMUNICATION_COMMAND_SENDMESSAGE

public static final String HMAPMIRRORERCOMMUNICATION_COMMAND_SENDMESSAGE
See Also:
Constant Field Values

HMAPMIRRORERCOMMUNICATION_SYNC_COMMAND_GET

public static final String HMAPMIRRORERCOMMUNICATION_SYNC_COMMAND_GET
See Also:
Constant Field Values

HMAPMIRRORERCOMMUNICATION_SYNC_COMMAND_DATA

public static final String HMAPMIRRORERCOMMUNICATION_SYNC_COMMAND_DATA
See Also:
Constant Field Values

HMAPMIRRORERCOMMUNICATION_SYNC_COMMAND_DATA_CHUNKED

public static final String HMAPMIRRORERCOMMUNICATION_SYNC_COMMAND_DATA_CHUNKED
See Also:
Constant Field Values

HMAPMIRRORERCOMMUNICATION_SYNC_COMMAND_GOT

public static final String HMAPMIRRORERCOMMUNICATION_SYNC_COMMAND_GOT
See Also:
Constant Field Values

HMAPMIRRORERCOMMUNICATION_SYNC_COMMAND_GOT_CHUNK

public static final String HMAPMIRRORERCOMMUNICATION_SYNC_COMMAND_GOT_CHUNK
See Also:
Constant Field Values

HMAPMIRRORERCOMMUNICATION_SYNC_ROLE_PUSH

public static final String HMAPMIRRORERCOMMUNICATION_SYNC_ROLE_PUSH
See Also:
Constant Field Values

HMAPMIRRORERCOMMUNICATION_SYNC_ROLE_PULL

public static final String HMAPMIRRORERCOMMUNICATION_SYNC_ROLE_PULL
See Also:
Constant Field Values

HMAPMIRRORERCOMMUNICATION_SYNC_ROLE_PUSHPULL

public static final String HMAPMIRRORERCOMMUNICATION_SYNC_ROLE_PUSHPULL
See Also:
Constant Field Values

CHUNK_SIZE

public static final int CHUNK_SIZE
See Also:
Constant Field Values

commInvokator

public HmapMirrorerCommunication.HmapMirrorerCommunicationInvokator commInvokator
Constructor Detail

HmapMirrorerCommunication

public HmapMirrorerCommunication(DeviceContext context,
                                 HmapPath mirrorPath,
                                 ServiceProxy serviceProxy,
                                 String mirrorRole)
Method Detail

start

public void start()

getCommThread

public PalcomPriorityThread getCommThread()