ERXSimpleMulticastSynchronizer Class Reference

Inherits er::extensions::remoteSynchronizer::ERXRemoteSynchronizer.

Collaboration diagram for ERXSimpleMulticastSynchronizer:

Collaboration graph
[legend]

List of all members.

Classes

class  MulticastByteArrayOutputStream

Public Member Functions

 ERXSimpleMulticastSynchronizer (IChangeListener listener) throws IOException
void join () throws IOException
void leave () throws IOException
void listen () throws IOException
void writeCacheChange (CacheChange cacheChange, int transactionID, short transactionNum, short transactionSize) throws IOException

Static Public Attributes

static final int IDENTIFIER_LENGTH = 6

Protected Member Functions

void _writeCacheChanges (int transactionID, NSArray cacheChanges) throws IOException
boolean handleMessageType (int messageType, RemoteChange remoteChange, DataInputStream dis)

Private Attributes

byte[] _identifier
NSMutableDictionary _incomingCacheChanges
boolean _listening
InetAddress _localBindAddress
NetworkInterface _localNetworkInterface
int _maxReceivePacketSize
int _maxSendPacketSize
InetSocketAddress _multicastGroup
int _multicastPort
MulticastSocket _multicastSocket
NSArray _whitelist

Static Private Attributes

static final int JOIN = 1
static final int LEAVE = 2


Constructor & Destructor Documentation

ERXSimpleMulticastSynchronizer ( IChangeListener  listener  )  throws IOException


Member Function Documentation

void _writeCacheChanges ( int  transactionID,
NSArray  cacheChanges 
) throws IOException [protected, virtual]

Implements ERXRemoteSynchronizer.

boolean handleMessageType ( int  messageType,
RemoteChange  remoteChange,
DataInputStream  dis 
) [protected]

Reimplemented from ERXRemoteSynchronizer.

void join (  )  throws IOException [virtual]

Implements ERXRemoteSynchronizer.

void leave (  )  throws IOException [virtual]

Implements ERXRemoteSynchronizer.

void listen (  )  throws IOException [virtual]

Implements ERXRemoteSynchronizer.

void writeCacheChange ( CacheChange  cacheChange,
int  transactionID,
short  transactionNum,
short  transactionSize 
) throws IOException


Member Data Documentation

byte [] _identifier [private]

boolean _listening [private]

InetAddress _localBindAddress [private]

NetworkInterface _localNetworkInterface [private]

int _maxReceivePacketSize [private]

int _maxSendPacketSize [private]

InetSocketAddress _multicastGroup [private]

int _multicastPort [private]

MulticastSocket _multicastSocket [private]

NSArray _whitelist [private]

final int IDENTIFIER_LENGTH = 6 [static]

final int JOIN = 1 [static, private]

final int LEAVE = 2 [static, private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:17 2012 for Project Wonder by  doxygen 1.5.8