com.jbase.jremote.io.inflow
Class ClientHandle
java.lang.Object
com.jbase.jremote.io.inflow.ClientHandle
public class ClientHandle
- extends Object
This class holds a reference to the object the RequestServiceListener
uses to send reponses to clients. This object can be either a SocketChannel
or a Socket.
- Author:
- aphethean
Constructor Summary |
ClientHandle(Socket s)
Java 1.4 IO should create a response handler with the socket. |
ClientHandle(SocketChannel c)
Java NIO (5 and above) is capable of more advanced response handling
and should use this constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_channel
public SocketChannel _channel
_socket
public Socket _socket
ClientHandle
public ClientHandle(SocketChannel c)
- Java NIO (5 and above) is capable of more advanced response handling
and should use this constructor.
- Parameters:
c
-
ClientHandle
public ClientHandle(Socket s)
- Java 1.4 IO should create a response handler with the socket.
- Parameters:
s
-
getSessionId
public String getSessionId()
getChannel
public SocketChannel getChannel()
getSocket
public Socket getSocket()
Copyright © 2016 TEMENOS. All Rights Reserved.