| org.cougaar.mts.rmi.RMISocketControlService
RMISocketControlService | public interface RMISocketControlService extends Service(Code) | | This is an MTS-internal service used for simple socket
manipulation in RMI communication. The implementation is in
RMISocketControlAspect. It's used only by the RMILinkProtocol and
by OBJS.
|
Method Summary | |
ArrayList | getSocket(MessageAddress addr) Returns a list of all Sockets used for communication between
the running Node and the given remoted address. | void | setReferenceAddress(Remote reference, MessageAddress addr) The RMILinkProtocol calls this method, Other Aspects should not
call this method. | boolean | setSoTimeout(MessageAddress addr, int timeout) The SO Timeout is set for ALL sockets that go to the remote RMI
reference The side effect of this is that other agents that are
on the same node will also have their time out changed. |
getSocket | ArrayList getSocket(MessageAddress addr)(Code) | | Returns a list of all Sockets used for communication between
the running Node and the given remoted address.
|
setReferenceAddress | void setReferenceAddress(Remote reference, MessageAddress addr)(Code) | | The RMILinkProtocol calls this method, Other Aspects should not
call this method.
|
setSoTimeout | boolean setSoTimeout(MessageAddress addr, int timeout)(Code) | | The SO Timeout is set for ALL sockets that go to the remote RMI
reference The side effect of this is that other agents that are
on the same node will also have their time out changed.
|
|
|