net.sf.appia.jgcs
Class AppiaControlSession
java.lang.Object
net.sf.jgcs.AbstractControlSession
net.sf.jgcs.membership.AbstractMembershipSession
net.sf.jgcs.membership.AbstractBlockSession
net.sf.appia.jgcs.AppiaControlSession
- All Implemented Interfaces:
- net.sf.jgcs.ControlSession, net.sf.jgcs.membership.BlockSession, net.sf.jgcs.membership.MembershipSession
public class AppiaControlSession
- extends net.sf.jgcs.membership.AbstractBlockSession
Methods inherited from class net.sf.jgcs.membership.AbstractBlockSession |
boot, hasAllListeners, notifyBlock, setBlockListener, setJoined |
Methods inherited from class net.sf.jgcs.membership.AbstractMembershipSession |
getMembershipID, notifyAndSetMembership, notifyRemoved, setMembershipListener |
Methods inherited from class net.sf.jgcs.AbstractControlSession |
notifyExceptionListeners, notifyFailed, notifyJoin, notifyLeave, setControlListener, setExceptionListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.jgcs.membership.MembershipSession |
getMembershipID, setMembershipListener |
Methods inherited from interface net.sf.jgcs.ControlSession |
setControlListener, setExceptionListener |
AppiaControlSession
public AppiaControlSession(AppiaGroup g,
java.util.List<Channel> channels)
blockOk
public void blockOk()
throws net.sf.jgcs.NotJoinedException,
net.sf.jgcs.JGCSException
- Throws:
net.sf.jgcs.NotJoinedException
net.sf.jgcs.JGCSException
isBlocked
public boolean isBlocked()
throws net.sf.jgcs.NotJoinedException
- Throws:
net.sf.jgcs.NotJoinedException
join
public void join()
throws net.sf.jgcs.ClosedSessionException,
net.sf.jgcs.JGCSException
- Throws:
net.sf.jgcs.ClosedSessionException
net.sf.jgcs.JGCSException
leave
public void leave()
throws net.sf.jgcs.ClosedSessionException,
net.sf.jgcs.JGCSException
- Throws:
net.sf.jgcs.ClosedSessionException
net.sf.jgcs.JGCSException
getLocalAddress
public java.net.SocketAddress getLocalAddress()
getMembership
public net.sf.jgcs.membership.Membership getMembership()
throws net.sf.jgcs.NotJoinedException
- Specified by:
getMembership
in interface net.sf.jgcs.membership.MembershipSession
- Overrides:
getMembership
in class net.sf.jgcs.membership.AbstractMembershipSession
- Throws:
net.sf.jgcs.NotJoinedException
- See Also:
AbstractMembershipSession.getMembership()
setMembership
protected void setMembership(net.sf.jgcs.membership.Membership m)
- Overrides:
setMembership
in class net.sf.jgcs.membership.AbstractMembershipSession
- See Also:
AbstractMembershipSession.setMembership(net.sf.jgcs.membership.Membership)
isJoined
public boolean isJoined()
COPYRIGHT 2006-2009, University of Lisbon and INESC-ID
For updates and related information please see Appia Home Page
Send questions, sugestions or remarks to the appia-users mailing list