com.hs.mail.container.server.socket
Class TcpTransport
java.lang.Object
com.hs.mail.container.server.socket.TcpTransport
public class TcpTransport
- extends Object
- Since:
- May 28, 2010
- Author:
- Won Chul Doh
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TcpTransport
public TcpTransport()
throws IOException
- Throws:
IOException
setChannel
public void setChannel(TcpSocketChannel channel)
throws IOException
- Throws:
IOException
getChannel
public TcpSocketChannel getChannel()
getRemoteAddress
public InetAddress getRemoteAddress()
getInputStream
public InputStream getInputStream()
throws IOException
- Throws:
IOException
getOutputStream
public OutputStream getOutputStream()
throws IOException
- Throws:
IOException
isSessionEnded
public boolean isSessionEnded()
endSession
public void endSession()
readLine
public String readLine()
throws IOException
- Throws:
IOException
println
public void println(String str)
Copyright © 2011. All Rights Reserved.