|
SCS | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.PortableServer.Servant
scs.core.IReceptaclesPOA
scs.core.servant.IReceptaclesServant
public abstract class IReceptaclesServant
Classe abstrata que implementa as caracteristicas comuns aos IReceptacles do SCS.
Constructor Summary | |
---|---|
IReceptaclesServant()
ctor default |
Method Summary | |
---|---|
int |
connect(java.lang.String receptacle,
org.omg.CORBA.Object obj)
|
protected abstract java.util.ArrayList<Receptacle> |
createReceptacles()
Metodo que retorna o conjunto de receptaculos das classes derivadas |
void |
disconnect(int id)
|
protected Receptacle |
findReceptacle(java.lang.String name)
|
protected Receptacle |
findReceptacleByConnection(int connId)
|
protected abstract int |
getConnectionLimit()
Metodo abstrato para as classes concretas implementarem o limite de conexoes |
ConnectionDescription[] |
getConnections(java.lang.String receptacle)
|
java.util.ArrayList<ReceptacleDescription> |
getReceptacles()
|
protected abstract boolean |
isValidConnection(org.omg.CORBA.Object obj)
Metodo abstrato para as classes derivadas validarem as conexoes |
Methods inherited from class scs.core.IReceptaclesPOA |
---|
_all_interfaces, _invoke, _this, _this |
Methods inherited from class org.omg.PortableServer.Servant |
---|
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IReceptaclesServant()
Method Detail |
---|
protected abstract java.util.ArrayList<Receptacle> createReceptacles()
protected abstract int getConnectionLimit()
protected abstract boolean isValidConnection(org.omg.CORBA.Object obj)
protected Receptacle findReceptacle(java.lang.String name)
name
-
protected Receptacle findReceptacleByConnection(int connId)
connId
-
public int connect(java.lang.String receptacle, org.omg.CORBA.Object obj) throws InvalidName, InvalidConnection, AlreadyConnected, ExceededConnectionLimit
InvalidName
InvalidConnection
AlreadyConnected
ExceededConnectionLimit
public void disconnect(int id) throws InvalidConnection, NoConnection
InvalidConnection
NoConnection
public ConnectionDescription[] getConnections(java.lang.String receptacle) throws InvalidName
InvalidName
public java.util.ArrayList<ReceptacleDescription> getReceptacles()
|
SCS | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |