com.sun.media.jsdt.template
Class templateSession

java.lang.Object
  |
  +--com.sun.media.jsdt.impl.JSDTObject
        |
        +--com.sun.media.jsdt.impl.ManageableImpl
              |
              +--com.sun.media.jsdt.impl.SessionImpl
                    |
                    +--com.sun.media.jsdt.template.templateSession

public class templateSession
extends SessionImpl
implements com.sun.media.jsdt.template.templateDebugFlags

JSDT implementation specific Session class.

Version:
1.5 - 7th January 1999
Author:
Rich Burridge
See Also:
Serialized Form

Fields inherited from class com.sun.media.jsdt.impl.SessionImpl
M_Session, po, so
 
Fields inherited from class com.sun.media.jsdt.impl.ManageableImpl
mpo, name, objectType
 
Fields inherited from class com.sun.media.jsdt.impl.JSDTObject
giveTime, httpTunnelPort, maxQueueSize, maxThreadPoolSize, pingPeriod, registryAddress, registryPort, registryTime, showMessage, showStack, socketFactoryClass, SSLCipher, timeoutPeriod, TTL, versionString
 
Constructor Summary
templateSession()
           templateSession the default constructor for the templateSession class.
 
Method Summary
 void _createProxy(NamingProxy namingProxy, java.lang.String name, short sessionNo, java.lang.String connectionType, java.lang.String host, int port)
           _createProxy create a proxy-side connection for this Session.
 void _createServer(java.lang.String name, short sessionNo, java.lang.String connectionType, java.lang.String url, int port)
           _createServer create a server-side connection for this Session.
 
Methods inherited from class com.sun.media.jsdt.impl.SessionImpl
addSessionListener, byteArrayExists, byteArrayManaged, channelExists, channelManaged, close, close, createByteArray, createByteArray, createByteArray, createByteArray, createByteArray, createByteArray, createChannel, createChannel, createToken, createToken, getByteArraysJoined, getChannelsJoined, getTokensJoined, listByteArrayNames, listChannelNames, listTokenNames, removeSessionListener, setName, tokenExists, tokenManaged
 
Methods inherited from class com.sun.media.jsdt.impl.ManageableImpl
addListener, destroy, disableListenerEvents, disableManagerEvents, enableListenerEvents, enableManagerEvents, expel, getName, getSession, invite, isManaged, join, leave, listClientNames
 
Methods inherited from class com.sun.media.jsdt.impl.JSDTObject
error, getConnectionType, setConnectionType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

templateSession

public templateSession()
templateSession the default constructor for the templateSession class. Note that the session name is supplied by _createProxy or _createServer.
Method Detail

_createProxy

public final void _createProxy(NamingProxy namingProxy,
                               java.lang.String name,
                               short sessionNo,
                               java.lang.String connectionType,
                               java.lang.String host,
                               int port)
                        throws com.sun.media.jsdt.NoSuchHostException
_createProxy create a proxy-side connection for this Session.
Parameters:
namingProxy - the naming proxy that created this session.
name - the name of the session being constructed.
sessionNo - the unique session number for this session name.
connectionType - the type of this connection.
host - the host of the server-side connection.
port - the port number to use for the connection.
Throws:
com.sun.media.jsdt.NoSuchHostException - if the host given doesn't exist.

_createServer

public final void _createServer(java.lang.String name,
                                short sessionNo,
                                java.lang.String connectionType,
                                java.lang.String url,
                                int port)
                         throws com.sun.media.jsdt.PortInUseException
_createServer create a server-side connection for this Session.
Parameters:
name - the name of the session being constructed.
sessionNo - the unique session number for this session name.
connectionType - the type of this connection.
url - the url associated with this object.
port - the port number to use for the connection.
Throws:
com.sun.media.jsdt.PortInUseException - if this port is being used by another application.