public class TcpipSMBChannelSessionHandler extends ChannelSessionHandler
Handle CIFS socket connections via native SMB, usually port 445.
ListenBacklog
Constructor and Description |
---|
TcpipSMBChannelSessionHandler(NetworkServer server,
InetAddress addr,
int port)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
PacketHandler |
createPacketHandler(SocketChannel sockChannel)
Create a packet handler for the new client socket connection
|
SMBServer |
getSMBServer()
Return the CIFS server
|
closeSessionHandler, getSocketChannel, initializeSessionHandler
clearShutdown, getBindAddress, getHandlerName, getListenBacklog, getNextSessionId, getPort, getProtocolName, getServer, hasBindAddress, hasDebug, hasShutdown, setDebug, setPort, setShutdown, toString
public TcpipSMBChannelSessionHandler(NetworkServer server, InetAddress addr, int port)
server
- NetworkServeraddr
- InetAddressport
- intpublic PacketHandler createPacketHandler(SocketChannel sockChannel) throws IOException
createPacketHandler
in class ChannelSessionHandler
sockChannel
- SocketChannelIOException
public final SMBServer getSMBServer()
Copyright © 2005–2018 Alfresco Software. All rights reserved.