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, toStringpublic 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 SessionHandlerInterfaceinitializeSessionHandler in class SessionHandlerBaseserver - NetworkServerjava.io.IOExceptionpublic PacketHandler createPacketHandler(NetBIOSSocket clientSock) throws java.io.IOException
clientSock - NetBIOSSocketjava.io.IOExceptionpublic void closeSessionHandler(NetworkServer server)
closeSessionHandler in interface SessionHandlerInterfacecloseSessionHandler in class SessionHandlerBaseserver - NetworkServerCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.