Package fr.dyade.aaa.jndi2.server
Class TcpEntryPoint
- java.lang.Object
-
- fr.dyade.aaa.jndi2.server.TcpEntryPoint
-
- All Implemented Interfaces:
EntryPoint,Serializable
public class TcpEntryPoint extends Object implements EntryPoint
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private RequestManagermanagerprivate static longserialVersionUIDdefine serialVersionUID for interoperability
-
Constructor Summary
Constructors Constructor Description TcpEntryPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(AgentId from, Notification not)private voiddoReact(TcpRequestNot not)Reacts to a TCP connection request.voidsetRequestManager(RequestManager manager)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
define serialVersionUID for interoperability- See Also:
- Constant Field Values
-
manager
private RequestManager manager
-
-
Method Detail
-
setRequestManager
public void setRequestManager(RequestManager manager)
-
accept
public boolean accept(AgentId from, Notification not) throws Exception
- Specified by:
acceptin interfaceEntryPoint- Throws:
Exception
-
doReact
private void doReact(TcpRequestNot not) throws Exception
Reacts to a TCP connection request. This is the TCP entry point.- Parameters:
not- the TCP connection request- Throws:
Exception- an error occurs.
-
-