public class AsyncWinsockNetBIOSSessionHandler extends SessionHandlerBase
ListenBacklog
Constructor and Description |
---|
AsyncWinsockNetBIOSSessionHandler(int lana,
NetBIOSName nbName,
NetworkServer server)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
void |
closeSessionHandler(NetworkServer server)
Close the session handler
|
PacketHandler |
createPacketHandler(NetBIOSSocket clientSock)
Create a packet handler for the new client socket connection
|
int |
getLANA()
Return the LANA that this listener is using
|
NetBIOSName |
getNetBIOSName()
Return the name this handler is listening on
|
SMBServer |
getSMBServer()
Return the associated CIFS server
|
NetBIOSSocket |
getSocket()
Return the listener NetBIOS socket
|
void |
initializeSessionHandler(NetworkServer server)
Initialize the session handler
|
clearShutdown, getBindAddress, getHandlerName, getListenBacklog, getNextSessionId, getPort, getProtocolName, getServer, hasBindAddress, hasDebug, hasShutdown, setDebug, setPort, setShutdown, toString
public AsyncWinsockNetBIOSSessionHandler(int lana, NetBIOSName nbName, NetworkServer server)
name
- StringnbName
- NetBIOSNameserver
- NetworkServerpublic final int getLANA()
public final NetBIOSSocket getSocket()
public final SMBServer getSMBServer()
public final NetBIOSName getNetBIOSName()
public void initializeSessionHandler(NetworkServer server) throws java.io.IOException
initializeSessionHandler
in interface SessionHandlerInterface
initializeSessionHandler
in class SessionHandlerBase
server
- NetworkServerjava.io.IOException
public PacketHandler createPacketHandler(NetBIOSSocket clientSock) throws java.io.IOException
clientSock
- NetBIOSSocketjava.io.IOException
public void closeSessionHandler(NetworkServer server)
closeSessionHandler
in interface SessionHandlerInterface
closeSessionHandler
in class SessionHandlerBase
server
- NetworkServerCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.