public class TcpipSMBChannelSessionHandler extends ChannelSessionHandler
Handle CIFS socket connections via native SMB, usually port 445.
ListenBacklog
Constructor and Description |
---|
TcpipSMBChannelSessionHandler(NetworkServer server,
java.net.InetAddress addr,
int port)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
PacketHandler |
createPacketHandler(java.nio.channels.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, java.net.InetAddress addr, int port)
server
- NetworkServeraddr
- InetAddressport
- intpublic PacketHandler createPacketHandler(java.nio.channels.SocketChannel sockChannel) throws java.io.IOException
createPacketHandler
in class ChannelSessionHandler
sockChannel
- SocketChanneljava.io.IOException
public final SMBServer getSMBServer()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.