JMACS

org.jmacs
Interface IDiClient

All Known Implementing Classes:
DiClient

public interface IDiClient

device-interface client.

Version:
$Id: IDiClient.java 615 2006-07-03 08:17:57Z rob $
Author:
Rob Dickens

Method Summary
 void connect()
          to JMACS server.
 void connect(int ucastPort)
          as above, but specifying the local port to which the socket that creates the connection for sending status samples in the unicast case, must bind.
 void connect(int ucastPort, int ucastSubscriberPort)
          as above, but also specifying the local port to which the socket that creates the connection for receiving subscribed-to status samples in the unicast case, must bind.
 void disconnect()
          from server.
 void terminate()
          called last, to relinquish allocated resources.
 

Method Detail

connect

void connect()
             throws InterruptedException,
                    MalformedURLException,
                    RemoteException
to JMACS server.

Throws:
InterruptedException
MalformedURLException
RemoteException

connect

void connect(int ucastPort)
             throws InterruptedException,
                    MalformedURLException,
                    RemoteException
as above, but specifying the local port to which the socket that creates the connection for sending status samples in the unicast case, must bind.

Throws:
InterruptedException
MalformedURLException
RemoteException

connect

void connect(int ucastPort,
             int ucastSubscriberPort)
             throws InterruptedException,
                    MalformedURLException,
                    RemoteException
as above, but also specifying the local port to which the socket that creates the connection for receiving subscribed-to status samples in the unicast case, must bind.

Throws:
InterruptedException
MalformedURLException
RemoteException

disconnect

void disconnect()
from server.


terminate

void terminate()
               throws IOException
called last, to relinquish allocated resources.

Throws:
IOException

JMACS

jmacs.org