Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.INetworkManipulator Interface Reference
Inheritance diagram for de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.INetworkManipulator:
de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.NetworkManipulatorImpl

List of all members.

Public Member Functions

void blockIncomingXMPPPackets (JID jid) throws RemoteException
void blockOutgoingXMPPPackets (JID jid) throws RemoteException
void unblockIncomingXMPPPackets (JID jid) throws RemoteException
void unblockOutgoingXMPPPackets (JID jid) throws RemoteException
void unblockIncomingXMPPPackets () throws RemoteException
void unblockOutgoingXMPPPackets () throws RemoteException
void setDiscardIncomingXMPPPackets (JID jid, boolean discard) throws RemoteException
void setDiscardOutgoingXMPPPackets (JID jid, boolean discard) throws RemoteException
void blockIncomingSessionPackets (JID jid) throws RemoteException
void blockOutgoingSessionPackets (JID jid) throws RemoteException
void unblockIncomingSessionPackets (JID jid) throws RemoteException
void unblockOutgoingSessionPackets (JID jid) throws RemoteException
void blockIncomingSessionPackets () throws RemoteException
void blockOutgoingSessionPackets () throws RemoteException
void unblockIncomingSessionPackets () throws RemoteException
void unblockOutgoingSessionPackets () throws RemoteException
void setDiscardIncomingSessionPackets (JID jid, boolean discard) throws RemoteException
void setDiscardOutgoingSessionPackets (JID jid, boolean discard) throws RemoteException
void synchronizeOnActivityQueue (JID jid, long timeout) throws RemoteException

Detailed Description

This interface gives you control to manipulate the Saros and XMPP network access. All methods provided by the interface are not thread safe.

Author:
Stefan Rossbach

Member Function Documentation

void de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.INetworkManipulator.blockIncomingSessionPackets ( JID  jid) throws RemoteException

Blocks incoming packets that are received from the given JID in the current Saros Session. Packets will be dispatched after the connection is unblocked.

Parameters:
jidthe JID to block
Exceptions:
RemoteException

Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.NetworkManipulatorImpl.

void de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.INetworkManipulator.blockIncomingSessionPackets ( ) throws RemoteException

Blocks all incoming packet transfer for the current Saros session.

Exceptions:
RemoteException

Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.NetworkManipulatorImpl.

void de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.INetworkManipulator.blockIncomingXMPPPackets ( JID  jid) throws RemoteException

Blocks incoming packets that are received from the given JID over XMPP. Packets will be dispatched after the connection is unblocked.

Parameters:
jidthe JID to block
Exceptions:
RemoteException

Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.NetworkManipulatorImpl.

void de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.INetworkManipulator.blockOutgoingSessionPackets ( JID  jid) throws RemoteException

Blocks outgoing packets that are send to the given JID in the current Saros Session. Packets will be dispatched after the connection is unblocked.

Parameters:
jidthe JID to block
Exceptions:
RemoteException

Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.NetworkManipulatorImpl.

void de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.INetworkManipulator.blockOutgoingSessionPackets ( ) throws RemoteException

Blocks all outgoing packet transfer for the current Saros Session.

Exceptions:
RemoteException

Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.NetworkManipulatorImpl.

void de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.INetworkManipulator.blockOutgoingXMPPPackets ( JID  jid) throws RemoteException

Blocks outgoing packets that are send to the given JID over XMPP. Packets will be dispatched after the connection is unblocked.

Parameters:
jidthe JID to block
Exceptions:
RemoteException

Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.NetworkManipulatorImpl.

void de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.INetworkManipulator.setDiscardIncomingSessionPackets ( JID  jid,
boolean  discard 
) throws RemoteException

Controls whether all packets that are received from this JID should be discarded or not.

Parameters:
jidthe JID which packets should be discarded
discardtrue if all packets should be discarded, false otherwise
Exceptions:
RemoteException

Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.NetworkManipulatorImpl.

void de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.INetworkManipulator.setDiscardIncomingXMPPPackets ( JID  jid,
boolean  discard 
) throws RemoteException

Controls whether all packets that are received from this JID should be discarded or not.

Parameters:
jidthe JID which packets should be discarded
discardtrue if all packets should be discarded, false otherwise
Exceptions:
RemoteException

Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.NetworkManipulatorImpl.

void de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.INetworkManipulator.setDiscardOutgoingSessionPackets ( JID  jid,
boolean  discard 
) throws RemoteException

Controls whether all packets that are send to this JID should be discarded or not.

Parameters:
jidthe JID which packets should be discarded
discardtrue if all packets should be discarded, false otherwise
Exceptions:
RemoteException

Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.NetworkManipulatorImpl.

void de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.INetworkManipulator.setDiscardOutgoingXMPPPackets ( JID  jid,
boolean  discard 
) throws RemoteException

Controls whether all packets that are send to this JID should be discarded or not.

Parameters:
jidthe JID which packets should be discarded
discardtrue if all packets should be discarded, false otherwise
Exceptions:
RemoteException

Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.NetworkManipulatorImpl.

void de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.INetworkManipulator.synchronizeOnActivityQueue ( JID  jid,
long  timeout 
) throws RemoteException

Synchronizes on the activity queue for the given JID. When this method returns all outstanding activities are guaranteed to have been executed before this call was made.

Parameters:
jidthe JID to synchronize on
timeoutthe timeout how long this method should wait before giving up
Exceptions:
RemoteExceptionif the timeout exceeded or there is no active session

Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.NetworkManipulatorImpl.

void de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.INetworkManipulator.unblockIncomingSessionPackets ( ) throws RemoteException

Unblocks all incoming packet transfer for the current Saros session.

Exceptions:
RemoteException

Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.NetworkManipulatorImpl.

void de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.INetworkManipulator.unblockIncomingSessionPackets ( JID  jid) throws RemoteException

Unblocks the given JID and continue to dispatch packets from this JID in the current Saros Session.

Parameters:
jidthe JID to unblock
Exceptions:
RemoteException

Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.NetworkManipulatorImpl.

void de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.INetworkManipulator.unblockIncomingXMPPPackets ( JID  jid) throws RemoteException

Unblocks the given JID and continue to dispatch packets from this JID over XMPP.

Parameters:
jidthe JID to unblock
Exceptions:
RemoteException

Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.NetworkManipulatorImpl.

void de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.INetworkManipulator.unblockIncomingXMPPPackets ( ) throws RemoteException

Blocks all incoming packet transfer for the current XMPP connection.

Exceptions:
RemoteException

Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.NetworkManipulatorImpl.

void de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.INetworkManipulator.unblockOutgoingSessionPackets ( ) throws RemoteException

Unblocks all outgoing packet transfer for the current Saros Session.

Exceptions:
RemoteException

Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.NetworkManipulatorImpl.

void de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.INetworkManipulator.unblockOutgoingSessionPackets ( JID  jid) throws RemoteException

Unblocks the given JID and continues to send packets to this JID in the current Saros Session.

Parameters:
jidthe JID to unblock
Exceptions:
RemoteException

Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.NetworkManipulatorImpl.

void de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.INetworkManipulator.unblockOutgoingXMPPPackets ( JID  jid) throws RemoteException

Unblocks the given JID and continues to send packets to this JID over XMPP.

Parameters:
jidthe JID to unblock
Exceptions:
RemoteException

Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.NetworkManipulatorImpl.

void de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.INetworkManipulator.unblockOutgoingXMPPPackets ( ) throws RemoteException

Unblocks all incoming packet transfer for the current XMPP connection.

Exceptions:
RemoteException

Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.NetworkManipulatorImpl.

 All Classes Namespaces Files Functions Variables Enumerations