jnetpcap.capture
Interface RemoteSession.RemoteSessionFactory

Enclosing interface:
RemoteSession

public static interface RemoteSession.RemoteSessionFactory

Remote session handler is an object that is called by the CaptureServer to handle an incomming RemoteSession connection. Once the incoming RemoteSession is detected the method createSession(jnetpcap.capture.RemoteServer, java.net.Socket) is called and from then on it is upto the handler to implement the proper protocol, authenticate the connection and verify and validate which services are available to the client.

Author:
Mark Bednarczyk, Sly Technologies, Inc.

Method Summary
 RemoteSession createSession(RemoteServer parent, java.net.Socket socket)
           
 

Method Detail

createSession

RemoteSession createSession(RemoteServer parent,
                            java.net.Socket socket)
                            throws java.io.IOException,
                                   RemoteAuthenticationException
Throws:
java.io.IOException
RemoteAuthenticationException