All Packages Class Hierarchy This Package Previous Next Index
Class amarquee.HostQSession
java.lang.Object
|
+----amarquee.QSessionPrivate
|
+----amarquee.QSession
|
+----amarquee.HostQSession
- public class HostQSession
- extends QSession
-
HostQSession(String, int, String)
- Create a new QSession.
-
HostQSession(String, String)
- Create a new QSession.
HostQSession
public HostQSession(String hostNames,
int port,
String progNames) throws SessionCreationException
- Create a new QSession. Waiting for a connection on a port. Specifiy the tcp-port to wait on.
- Parameters:
- hostNames - String - the hosts allowed to connect to your HostQSession. Wildcards are allowed.
#? = any host
- port - int - The port to wait on.
- progNames - String - the programs allowed to connect to your HostQSession. Wildcards are allowed.
#? = any program
- Throws: SessionCreationException
- - if the port you specified was used by another program.
HostQSession
public HostQSession(String hostNames,
String progNames) throws SessionCreationException
- Create a new QSession. Waiting for a connection. Let AMarquee choose a tcp-port
for you. You can get the choosed tcp-port by doing a getPort() on the HostQSession you get.
- Parameters:
- hostNames - String - the hosts allowed to connect to your HostQSession. Wildcards are allowed.
#? = any host
- progNames - String - the programs allowed to connect to your HostQSession. Wildcards are allowed.
#? = any program
All Packages Class Hierarchy This Package Previous Next Index