fulmine.distribution.channel
Interface IChannelOperations

All Known Implementing Classes:
Channel

public interface IChannelOperations

Used by the handlers of the Channel to interact with it.

Author:
Ramon Servadei

Method Summary
 byte[] getContainerDestroyedMessage(ContainerDestroyedEvent event)
          Get the byte[] to represent the container destroyed event
 boolean isConnectionSyn()
          Find out if the connection to the peer channel synchronized
 void send(byte[] message)
          Send a message to the connected channel.
 void setConnectionSyn()
          Mark the connection to the peer channel as synchronized.
 

Method Detail

isConnectionSyn

boolean isConnectionSyn()
Find out if the connection to the peer channel synchronized

Returns:
true if the connection to the peer channel is synchronized.

setConnectionSyn

void setConnectionSyn()
Mark the connection to the peer channel as synchronized.


send

void send(byte[] message)
Send a message to the connected channel.

Parameters:
message - the byte[] encapsulating the message to send

getContainerDestroyedMessage

byte[] getContainerDestroyedMessage(ContainerDestroyedEvent event)
Get the byte[] to represent the container destroyed event

Parameters:
event - the container destroyed event to convert into byte[] form
Returns:
a byte[] representing the container destroyed event


Copyright © 2007-2009. All Rights Reserved.