|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.adventnet.snmp.snmp2.SASTransportImpl
| Constructor Summary | |
(package private) |
SASTransportImpl()
|
| Method Summary | |
void |
close()
Closes the transport interface after communication is over. |
void |
open(ProtocolOptions options)
Opens the transport interface over which the data is sent/received. |
int |
read(SnmpTransportPacket buf)
Receive data from the peer over the transport interface. |
void |
write(SnmpTransportPacket buf)
Sends data to the peer over the transport interface. |
(package private) void |
write(SnmpTransportPacket buf,
long timeoutmillis)
|
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
SASTransportImpl()
| Method Detail |
public void open(ProtocolOptions options)
throws java.io.IOException
options - protocol options required for opening the SNMP session.
public int read(SnmpTransportPacket buf)
throws java.io.IOException
buf - Transport packet containing the packet buffer in which the
bytes will be read.
public void write(SnmpTransportPacket buf)
throws java.io.IOException
buf - the transport packet that contains the destination information
and the SNMP message to be sent.
void write(SnmpTransportPacket buf,
long timeoutmillis)
throws java.io.IOException
public void close()
throws java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||