|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.iids.aos.kernel.mux.ListenPort
public class ListenPort
The object that represents a listen port and therefore a virtual contact point, and buffers incoming virtual connections. A ListenPort is created by a ListenPortTable. Thread safe.
| Constructor Summary | |
|---|---|
ListenPort(int portNumber,
int backlog,
java.lang.String[] secSuites)
Constructor. |
|
| Method Summary | |
|---|---|
Role |
getOwner()
Returns the owner of this port |
int |
getPortNumber()
Returns the port number allocated to this port. |
java.lang.String[] |
getSecSuites()
Returns the security suites allowed for this port. |
SelectRendezvous |
getSelectRendezvous()
|
void |
notifyAccepters()
Notify blocking accepters |
void |
notifySelecters()
|
void |
setOwner(Role r)
Sets the owner of this port |
void |
setSelectRendezvous(SelectRendezvous sr)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListenPort(int portNumber,
int backlog,
java.lang.String[] secSuites)
portNumber - the port number allocated to this portbacklog - maximum number of pending connections allowed,
0 to leave unspecifiedsecSuites - a series of cipher suites acceptable to the caller, or
null or empty to leave unspecified| Method Detail |
|---|
public int getPortNumber()
public java.lang.String[] getSecSuites()
public void setOwner(Role r)
throws KernelException
setOwner in interface KernelResourcesetOwner in interface SelectableKernelResourcer - the owner role
KernelExceptionpublic Role getOwner()
getOwner in interface KernelResourcegetOwner in interface SelectableKernelResourcepublic SelectRendezvous getSelectRendezvous()
getSelectRendezvous in interface SelectableKernelResourcepublic void setSelectRendezvous(SelectRendezvous sr)
setSelectRendezvous in interface SelectableKernelResourcepublic void notifySelecters()
public void notifyAccepters()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||