com.sun.media.jsdt.impl
Class JSDTObject

java.lang.Object
  |
  +--com.sun.media.jsdt.impl.JSDTObject
Direct Known Subclasses:
ChannelConsumerImpl, ClientImpl, JSDTManagerImpl, ManageableImpl

public class JSDTObject
extends java.lang.Object
implements JSDTDebugFlags, java.io.Serializable

JSDT root class.

Version:
1.5 - 19th April 1999
Author:
Rich Burridge
See Also:
Serialized Form

Field Summary
static int giveTime
          The time to wait (in milliseconds) for Token give() operations.
static int httpTunnelPort
          The port number of the web server used by the "http" implementation which is running a CGI script or Java Servlet, that will "tunnel" JSDT messages from proxies to the server, and back.
static int maxQueueSize
          The maximum size of the message queue.
static int maxThreadPoolSize
          The maximum thread pool size.
static long pingPeriod
          The number of milliseconds to wait before pinging the server to see if there are any asynchronous messages buffered there which need to be retrieved.
static java.lang.String registryAddress
          The multicast Registry address to use with the LRMP implementation.
static int registryPort
          The port number the Registry should run on.
static int registryTime
          The number of seconds to attempt to try to start the Registry.
static boolean showMessage
          Use for debugging purposes.
static boolean showStack
          Use for debugging purposes.
static java.lang.String socketFactoryClass
          The factory class for creating sockets for the "socket" implementation of JSDT.
static java.lang.String SSLCipher
          The cipher String to use with SSL sockets.
static long timeoutPeriod
          The number of milliseconds to wait for a reply from the server.
static int TTL
          The time-to-live for LRMP packets.
static java.lang.String versionString
          The version string for this JSDT release.
 
Constructor Summary
JSDTObject()
           
 
Method Summary
 void error(java.lang.Object i, java.lang.String method, java.lang.Exception e)
           error print out details of the exception that has occured.
 java.lang.String getConnectionType()
           getConnectionType get the connection type of this JSDT object.
 void setConnectionType(java.lang.String connectType)
           setConnectionType set the connection type of this JSDT object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

showMessage

public static boolean showMessage
Use for debugging purposes. Set to true to print a message when an unexpected exception occurs.

showStack

public static boolean showStack
Use for debugging purposes. Set to true to print a stack trace when an unexpected exception occurs.

giveTime

public static int giveTime
The time to wait (in milliseconds) for Token give() operations.

timeoutPeriod

public static long timeoutPeriod
The number of milliseconds to wait for a reply from the server.

pingPeriod

public static long pingPeriod
The number of milliseconds to wait before pinging the server to see if there are any asynchronous messages buffered there which need to be retrieved. Used by the HTTP implementation.

registryTime

public static int registryTime
The number of seconds to attempt to try to start the Registry.

maxQueueSize

public static int maxQueueSize
The maximum size of the message queue.

maxThreadPoolSize

public static int maxThreadPoolSize
The maximum thread pool size.

TTL

public static int TTL
The time-to-live for LRMP packets.

socketFactoryClass

public static java.lang.String socketFactoryClass
The factory class for creating sockets for the "socket" implementation of JSDT. For TCP sockets, this should be set to: "com.sun.media.jsdt.socket.TCPSocketFactory" For SSL sockets, this should be set to: "com.sun.media.jsdt.socket.SSLSocketFactory"

SSLCipher

public static java.lang.String SSLCipher
The cipher String to use with SSL sockets.

registryPort

public static int registryPort
The port number the Registry should run on.

registryAddress

public static java.lang.String registryAddress
The multicast Registry address to use with the LRMP implementation.

httpTunnelPort

public static int httpTunnelPort
The port number of the web server used by the "http" implementation which is running a CGI script or Java Servlet, that will "tunnel" JSDT messages from proxies to the server, and back.

versionString

public static final java.lang.String versionString
The version string for this JSDT release.
Constructor Detail

JSDTObject

public JSDTObject()
Method Detail

error

public final void error(java.lang.Object i,
                        java.lang.String method,
                        java.lang.Exception e)
error print out details of the exception that has occured.
Parameters:
i - the instance of the class where the exception occured.
method - the method the exception occured in.
e - the exception that has occured.

getConnectionType

public java.lang.String getConnectionType()
getConnectionType get the connection type of this JSDT object.
Returns:
the connection type of this JSDT object.

setConnectionType

public void setConnectionType(java.lang.String connectType)
setConnectionType set the connection type of this JSDT object.
Parameters:
connectType - the connection type of this JSDT object.