jason.service.admin
Class Client

java.lang.Object
  |
  +--jason.service.admin.AbstractClient
        |
        +--jason.service.admin.Client

public class Client
extends AbstractClient

Client Client admin : Use can send START or STOP command followed with a service name Syntax : Client ServiceIP ServerPort Name Password Command Parameter


Field Summary
 
Fields inherited from class jason.service.admin.AbstractClient
command, host, param, password, port, user
 
Constructor Summary
Client()
           
Client(java.lang.String[] args)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void sendCommand()
           
 void setClientListener(ClientListener listener)
          This is a single client notified for each sendCommand
 
Methods inherited from class jason.service.admin.AbstractClient
addClientResponseListener, getCommand, getResponseOutput, notifyClientEnd, notifyClientInit, notifyClientResponse, setCommand, setHost, setParam, setPassword, setPort, setResourceUploadListener, setResponseOutput, setUser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Client

public Client(java.lang.String[] args)
       throws java.io.IOException,
              java.lang.Exception

Client

public Client()
Method Detail

setClientListener

public void setClientListener(ClientListener listener)
This is a single client notified for each sendCommand


sendCommand

public void sendCommand()
                 throws java.io.IOException,
                        java.lang.Exception
Overrides:
sendCommand in class AbstractClient
java.io.IOException
java.lang.Exception

main

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