ERXRemoteNotificationCenter.SimpleCenter Class Reference

Inherits er::extensions::foundation::ERXRemoteNotificationCenter.

Collaboration diagram for ERXRemoteNotificationCenter.SimpleCenter:

Collaboration graph
[legend]

List of all members.

Classes

class  MulticastByteArrayOutputStream

Public Member Functions

void join () throws IOException
void leave () throws IOException
void listen () throws IOException

Static Public Attributes

static final int IDENTIFIER_LENGTH = 6

Protected Member Functions

void init () throws UnknownHostException, SocketException, IOException
void postRemoteNotification (NSNotification notification)
 SimpleCenter () throws IOException

Private Member Functions

NSNotification readNotification (DataInputStream dis) throws IOException
void writeNotification (NSNotification notification, DataOutputStream dos) throws IOException

Private Attributes

byte[] _identifier
boolean _listening
InetAddress _localBindAddress
NetworkInterface _localNetworkInterface
int _maxPacketSize
InetSocketAddress _multicastGroup
int _multicastPort
MulticastSocket _multicastSocket
boolean _postLocal

Static Private Attributes

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


Constructor & Destructor Documentation

SimpleCenter (  )  throws IOException [protected]


Member Function Documentation

void init (  )  throws UnknownHostException, SocketException, IOException [protected]

void join (  )  throws IOException

void leave (  )  throws IOException

void listen (  )  throws IOException

void postRemoteNotification ( NSNotification  notification  )  [protected, virtual]

Post a notification to the remote listeners.

Parameters:
notification 

Implements ERXRemoteNotificationCenter.

NSNotification readNotification ( DataInputStream  dis  )  throws IOException [private]

void writeNotification ( NSNotification  notification,
DataOutputStream  dos 
) throws IOException [private]


Member Data Documentation

byte [] _identifier [private]

boolean _listening [private]

InetAddress _localBindAddress [private]

NetworkInterface _localNetworkInterface [private]

int _maxPacketSize [private]

InetSocketAddress _multicastGroup [private]

int _multicastPort [private]

MulticastSocket _multicastSocket [private]

boolean _postLocal [private]

final int IDENTIFIER_LENGTH = 6 [static]

final int JOIN = 1 [static, private]

final int LEAVE = 2 [static, private]

final int POST = 3 [static, private]


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

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