public interface SocketListener extends CommonHandleChain
Exposes the following Attributes and methods:
attribute or method | API |
---|---|
ENABLE-CONNECTIONS | enableConnections(String) ,
enableConnections(character)
|
DISABLE-CONNECTIONS | disableConnections() |
SET-CONNECT-PROCEDURE | setConnectProcedure(String) ,
setConnectProcedure(character) ,
setConnectProcedure(String, handle) ,
setConnectProcedure(character, handle) ,
|
handle.unwrapSocketListener()
API, which, will return a
SocketListenerImpl
for a Server-Socket type handle.Modifier and Type | Method and Description |
---|---|
logical |
disableConnections()
Java implementation for the DISABLE-CONNECTIONS() SERVER-SOCKET method.
|
logical |
enableConnections(character option)
Java implementation for the ENABLE-CONNECTION() method.
|
logical |
enableConnections(java.lang.String option)
Java implementation for the ENABLE-CONNECTION() method.
|
logical |
setConnectProcedure(character procedureName)
Java implementation for the SET-CONNECT-PROCEDURE() SERVER-SOCKET method.
|
logical |
setConnectProcedure(character procedureName,
handle procHandle)
Java implementation for the SET-CONNECT-PROCEDURE() SERVER-SOCKET method.
|
logical |
setConnectProcedure(java.lang.String procedureName)
Java implementation for the SET-CONNECT-PROCEDURE() SERVER-SOCKET method.
|
logical |
setConnectProcedure(java.lang.String procedureName,
handle procHandle)
Java implementation for the SET-CONNECT-PROCEDURE() SERVER-SOCKET method.
|
getNextSibling, getPrevSibling, getPrivateData, setPrivateData, setPrivateData
getResourceType, readOnlyError, readOnlyError
id, id, unknown, valid
logical enableConnections(java.lang.String option)
true
if operation succeeded,
or false
otherwise.
The following options can be specified as valid ENABLE-CONNECTIONS() options:
option
- The set of options that define the enable-connections method.true
if operation succeeded, or false
otherwise.logical enableConnections(character option)
true
if operation succeeded,
or false
otherwise.
The following options can be specified as valid ENABLE-CONNECTIONS() options:
option
- The set of options that define the enable-connections method.true
if operation succeeded, or false
otherwise.logical disableConnections()
true
if the operation succeeded or false
otherwise.logical setConnectProcedure(java.lang.String procedureName)
procedureName
- The name of the procedure to be executed on CONNECT event.true
if the operation was successful or false
otherwise.logical setConnectProcedure(character procedureName)
procedureName
- The name of the procedure to be executed on CONNECT event.true
if the operation was successful or false
otherwise.logical setConnectProcedure(java.lang.String procedureName, handle procHandle)
procedureName
- The name of the procedure to be executed on CONNECT event.procHandle
- The context where the specified procedure belongs. Validation will be performed
when the CONNECT event is executed.true
if the operation was successful or false
otherwise.logical setConnectProcedure(character procedureName, handle procHandle)
procedureName
- The name of the procedure to be executed on CONNECT event.procHandle
- The context where the specified procedure belongs. Validation will be performed
when the CONNECT event is executed.true
if the operation was successful or false
otherwise.