Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
G
H
I
L
P
R
S
T
U
A
address()
- Method in class hypermedia.net.
UDP
Return the actual socket's local address, or
null
if the address correspond to any local address.
ask(int)
- Method in class hypermedia.picoip.
PicoIP
Ask for the given pin's value.
B
broadcast(boolean)
- Method in class hypermedia.net.
UDP
Enables or disables the ability of the current process to send broadcast messages.
BUFFER_SIZE
- Static variable in class hypermedia.net.
UDP
The default socket buffer length in bytes.
C
close()
- Method in class hypermedia.net.
UDP
Close the actuel datagram socket and all associate resources.
close()
- Method in class hypermedia.picoip.
PicoIP
Close the current connection.
D
DEFAULT_PIN_COUNT
- Static variable in class hypermedia.picoip.
PicoIP
The number of pins on the PicoIP card
dispose()
- Method in class hypermedia.net.
UDP
Close the socket.
G
getBuffer()
- Method in class hypermedia.net.
UDP
Return the actual socket buffer length
getTimeToLive()
- Method in class hypermedia.net.
UDP
Return the "Time to Live" value or -1 if an error occurred (or if the current socket is not a multicast socket).
H
hypermedia.net
- package hypermedia.net
hypermedia.picoip
- package hypermedia.picoip
I
isBroadcast()
- Method in class hypermedia.net.
UDP
Returns whether the opened socket send broadcast message socket or not.
isClosed()
- Method in class hypermedia.net.
UDP
Returns whether the current socket is closed or not.
isJoined()
- Method in class hypermedia.net.
UDP
Returns whether the multicast socket is joined to a group address.
isListening()
- Method in class hypermedia.net.
UDP
Returns whether the socket wait for incoming data or not.
isLoopback()
- Method in class hypermedia.net.
UDP
Returns whether the multicast socket loopback mode is enable or not.
isMulticast()
- Method in class hypermedia.net.
UDP
Returns whether the opened datagram socket is a multicast socket or not.
L
listen(boolean)
- Method in class hypermedia.net.
UDP
Start/stop waiting constantly for incoming data.
listen(int)
- Method in class hypermedia.net.
UDP
Set the socket reception timeout and wait one time for incoming data.
listen()
- Method in class hypermedia.net.
UDP
Wait for incoming data, and call the appropriate handlers each time a message is received.
log(boolean)
- Method in class hypermedia.net.
UDP
Enable or disable output process log.
log(boolean)
- Method in class hypermedia.picoip.
PicoIP
Enable or disable UDP connexion log
loopback(boolean)
- Method in class hypermedia.net.
UDP
Enable or disable the multicast socket loopback mode.
P
PicoIP
- Class in
hypermedia.picoip
A simple object to easily communicate with PicoIP card (
http://www.pictec.org/
).
PicoIP(Object, String)
- Constructor for class hypermedia.picoip.
PicoIP
Initializes PicoIP object and binds it to an available port.
PicoIP(Object, String, int)
- Constructor for class hypermedia.picoip.
PicoIP
Initializes PicoIP object and binds it to an available port.
PicoIP(Object, String, int, int)
- Constructor for class hypermedia.picoip.
PicoIP
Initializes PicoIP object with the given listening port.
port()
- Method in class hypermedia.net.
UDP
Return the actual socket's local port, or -1 if the socket is closed.
port()
- Method in class hypermedia.picoip.
PicoIP
Return the actual listening port or -1 if the connexion is not set.
R
receive(byte[])
- Method in class hypermedia.picoip.
PicoIP
PicoIP receive handler.
reset()
- Method in class hypermedia.picoip.
PicoIP
Turn off all pins
run()
- Method in class hypermedia.net.
UDP
Wait for incoming datagram packets.
S
send(String)
- Method in class hypermedia.net.
UDP
Send message to the current socket.
send(byte[])
- Method in class hypermedia.net.
UDP
Send data to the current socket.
send(String, String)
- Method in class hypermedia.net.
UDP
Send message to the requested IP address, to the current socket port.
send(byte[], String)
- Method in class hypermedia.net.
UDP
Send data to the requested IP address, to the current socket port.
send(String, String, int)
- Method in class hypermedia.net.
UDP
Send message to the requested IP address and port.
send(byte[], String, int)
- Method in class hypermedia.net.
UDP
Send data to the requested IP address and port.
set(int, boolean)
- Method in class hypermedia.picoip.
PicoIP
Turn on/off the requested pin.
set(int, int)
- Method in class hypermedia.picoip.
PicoIP
Change the given pin's value.
setBuffer(int)
- Method in class hypermedia.net.
UDP
Set the maximum size of the packet that can be sent or receive on the current socket.
setReceiveHandler(String)
- Method in class hypermedia.net.
UDP
Register the target's receive handler.
setTimeoutHandler(String)
- Method in class hypermedia.net.
UDP
Register the target's timeout handler.
setTimeToLive(int)
- Method in class hypermedia.net.
UDP
Control the life-time of a datagram in the network for multicast packets in order to indicates the scope of the multicasts (ie how far the packet will travel).
T
TIMEOUT
- Static variable in class hypermedia.picoip.
PicoIP
The default connection timeout in milliseconds
timeout(int)
- Method in class hypermedia.picoip.
PicoIP
Set the timeout value for the response time.
U
UDP
- Class in
hypermedia.net
Create and manage unicast, broadcast or multicast socket to send and receive datagram packets over the network.
UDP(Object)
- Constructor for class hypermedia.net.
UDP
Create a new datagram socket and binds it to an available port and every address on the local host machine.
UDP(Object, int)
- Constructor for class hypermedia.net.
UDP
Create a new datagram socket and binds it to the specified port on the local host machine.
UDP(Object, int, String)
- Constructor for class hypermedia.net.
UDP
Create a new datagram socket and binds it to the specified port on the specified local address or multicast group address.
A
B
C
D
G
H
I
L
P
R
S
T
U
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes