|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.iids.aos.kernel.ac.ACSender
public class ACSender
Sends agent containers to remote AOS kernels. Thread-safe.
| Field Summary | |
|---|---|
protected AgentContainerTransfer |
act
Class containing all basic info |
protected AuditLogger |
auditLogger
To log receipts of AC transfers, optionally |
protected static org.apache.commons.logging.Log |
log
|
protected java.util.Hashtable<Role,java.util.ArrayList<java.net.Socket>> |
role2sockets
Maps roles to a list of sockets opened on behalf of a role, used to awaken blocked ACTP shipping threads as part of role deletion |
protected javax.net.ssl.SSLSocketFactory |
secureSocketFactory
If secure, the factory for client sockets |
| Constructor Summary | |
|---|---|
ACSender(AgentContainerTransfer act,
javax.net.ssl.SSLContext ctx)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
closeACTP(Role r,
java.net.Socket socket)
|
void |
closeSockets(Role r)
|
void |
shipAgentContainer(Role r,
Endpoint dest,
TransactionID tid,
int acid,
java.lang.String[] userSecSuites)
Implements AOSapi.shipAgentContainer() |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.commons.logging.Log log
protected final AgentContainerTransfer act
protected final javax.net.ssl.SSLSocketFactory secureSocketFactory
protected AuditLogger auditLogger
protected java.util.Hashtable<Role,java.util.ArrayList<java.net.Socket>> role2sockets
| Constructor Detail |
|---|
public ACSender(AgentContainerTransfer act,
javax.net.ssl.SSLContext ctx)
| Method Detail |
|---|
public void shipAgentContainer(Role r,
Endpoint dest,
TransactionID tid,
int acid,
java.lang.String[] userSecSuites)
throws KernelException
KernelException
public boolean closeACTP(Role r,
java.net.Socket socket)
throws java.io.IOException
java.io.IOExceptionpublic void closeSockets(Role r)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||