net.anotheria.net.tcp.server
Class SocketContext

java.lang.Object
  extended by net.anotheria.net.tcp.server.SocketContext
All Implemented Interfaces:
IConnectionCreationContext

public class SocketContext
extends Object
implements IConnectionCreationContext

A socket associated connection creation context.

Author:
another

Method Summary
 Socket getSocket()
          Returns the socket
 void setSocket(Socket socket)
          Sets the socket
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getSocket

public Socket getSocket()
Returns the socket

Returns:
the socket object

setSocket

public void setSocket(Socket socket)
Sets the socket

Parameters:
socket - the socket

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010-2013 anotheria.net. All Rights Reserved.