|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.controllerModel.sunrise.connectionLib.AfLocalChannel
public final class AfLocalChannel
This channel supports local socket communication using Af_local sockets. Only works under VxWorks.
| Constructor Summary | |
|---|---|
AfLocalChannel()
Creates a new aflocal channel. |
|
| Method Summary | |
|---|---|
protected void |
acceptClient()
Tells the channel to accept a client. |
protected void |
dispose()
Disposes the channel. |
protected String |
getAddress()
Gets the address of the channel. |
protected CommunicationMedium |
getMedium()
Gets the medium over which the channel transports it's data. |
protected NameserverProxy |
getNameserverProxy()
Gets the nameserver proxy with which the channel was created. |
protected void |
initialize()
Initializes the channel. |
protected boolean |
isInitialized()
Returns true if this channel is initialized. |
protected void |
openClientPort()
Tells the channel to open a port for a client. |
protected void |
send(Message message)
Sends the given message over the channel. |
protected void |
setNameserverProxy(NameserverProxy proxy)
Sets the nameserver proxy with which the channel was created. |
protected void |
setServerAddress(String address)
Sets the server address for this channel. |
protected Message |
tryReceive(int timeout,
TimeUnit timeUnit)
Tries to receive a message from the channel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AfLocalChannel()
| Method Detail |
|---|
protected CommunicationMedium getMedium()
protected boolean isInitialized()
protected void openClientPort()
protected void send(Message message)
message - The message to send.protected void setServerAddress(String address)
address - The address string received from the nameserver.
protected Message tryReceive(int timeout,
TimeUnit timeUnit)
timeout - The timeout value.timeUnit - The timeout until
protected void acceptClient()
protected void dispose()
protected String getAddress()
protected void initialize()
protected final void setNameserverProxy(NameserverProxy proxy)
proxy - The proxy.protected final NameserverProxy getNameserverProxy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||