|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
sdt.mediator.SessionManagerInternal
public class SessionManagerInternal
Each application creates a single session manager to manage its sessions.
| Method Summary | |
|---|---|
Session |
addSession_aux(sdt.ext.interfaces.NotificationType m)
create a new session. |
Session |
addSession()
create a new session. |
Session |
addSessionDirect()
|
void |
control(sdt.ext.interfaces.PartyInBridgeURI party,
java.lang.String input)
If a session is started in Network mode (see SDT_Manager_URI_I), all events for that session are sent directly to the application as control messages. |
void |
disconnect()
called this at program exit. |
void |
dropSession(Session s)
drop an existing session. |
java.util.Set<Session> |
getSessions()
get set of sessions being managed |
boolean |
invite(sdt.ext.interfaces.PartyURI caller,
sdt.ext.interfaces.PartyURI callee)
passes up a call attempt intercepted by the network. |
void |
notify(sdt.ext.interfaces.SessionURI session,
java.util.UUID condition,
sdt.ext.interfaces.IPredicate.Binding[] ps)
a notification for a particular condition |
sdt.ext.interfaces.Response |
notifywait(sdt.ext.interfaces.SessionURI session,
java.util.UUID condition,
sdt.ext.interfaces.IPredicate.Binding[] ps)
a notify-wait |
int |
numSessions()
find out how many sessions are being managed |
void |
register(sdt.ext.interfaces.PartyURI caller)
a network user registration |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
|---|
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
|---|
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
|---|
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public boolean invite(sdt.ext.interfaces.PartyURI caller,
sdt.ext.interfaces.PartyURI callee)
throws java.rmi.RemoteException
sdt.ext.interfaces.SDT_Client_URI_I
invite in interface sdt.ext.interfaces.SDT_Client_URI_Ijava.rmi.RemoteException
public void register(sdt.ext.interfaces.PartyURI caller)
throws java.rmi.RemoteException
sdt.ext.interfaces.SDT_Client_URI_I
register in interface sdt.ext.interfaces.SDT_Client_URI_Ijava.rmi.RemoteException
public void notify(sdt.ext.interfaces.SessionURI session,
java.util.UUID condition,
sdt.ext.interfaces.IPredicate.Binding[] ps)
throws java.rmi.RemoteException
notify in interface sdt.ext.interfaces.SDT_Client_URI_Ijava.rmi.RemoteException
public sdt.ext.interfaces.Response notifywait(sdt.ext.interfaces.SessionURI session,
java.util.UUID condition,
sdt.ext.interfaces.IPredicate.Binding[] ps)
throws java.rmi.RemoteException
notifywait in interface sdt.ext.interfaces.SDT_Client_URI_Ijava.rmi.RemoteException
public Session addSession_aux(sdt.ext.interfaces.NotificationType m)
throws SDTException
SDTException
public Session addSession()
throws SDTException
ISessionManager
addSession in interface ISessionManagerSDTException
public Session addSessionDirect()
throws SDTException
SDTException
public void dropSession(Session s)
throws SDTException
SDTException
public java.util.Set<Session> getSessions()
throws SDTException
getSessions in interface ISessionManagerSDTException
public int numSessions()
throws SDTException
numSessions in interface ISessionManagerSDTException
public void control(sdt.ext.interfaces.PartyInBridgeURI party,
java.lang.String input)
throws java.rmi.RemoteException
sdt.ext.interfaces.SDT_Client_URI_I
control in interface sdt.ext.interfaces.SDT_Client_URI_Ijava.rmi.RemoteExceptionpublic void disconnect()
disconnect in interface ISessionManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||