kaos.aci.mockets
Class MocketClient

java.lang.Object
  extended by kaos.aci.ACIClient
      extended by kaos.aci.mockets.MocketClient
Direct Known Subclasses:
ACIAdminClient

public class MocketClient
extends ACIClient

Author:
Administrator

Nested Class Summary
 
Nested classes/interfaces inherited from class kaos.aci.ACIClient
ACIClient.MocketConnectThread, ACIClient.ReceiverThread
 
Field Summary
 
Fields inherited from class kaos.aci.ACIClient
_host, _listeners, _mocket, _port, _reader, _resultTable, _serverIsLocal, _writer, DEFAULT_PORT, OK_MESSAGE, RECONNECT_DELAY, WARNING_MESSAGE
 
Constructor Summary
protected MocketClient(java.lang.String host, int port)
           
 
Method Summary
 ConnectionConstraints getConnectionConstraints(java.lang.String srcHost, int srcPort, java.lang.String dstHost, int dstPort)
           
static MocketClient getInstance()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class kaos.aci.ACIClient
addPolicyUpdateListener, connectViaMocket, connectViaSocket, peerReachable, peerUnreachableWarning, removePolicyUpdateListener, satisfyRequest, sendMessageToKPAT
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MocketClient

protected MocketClient(java.lang.String host,
                       int port)
Method Detail

getInstance

public static MocketClient getInstance()

getConnectionConstraints

public ConnectionConstraints getConnectionConstraints(java.lang.String srcHost,
                                                      int srcPort,
                                                      java.lang.String dstHost,
                                                      int dstPort)
                                               throws java.io.IOException
Throws:
java.io.IOException

main

public static void main(java.lang.String[] args)