com.ireasoning.protocol.snmp
Class TcpPacketSender
java.lang.Object
com.ireasoning.protocol.snmp.TcpPacketSender
- All Implemented Interfaces:
- PacketSender
- public class TcpPacketSender
- extends Object
- implements PacketSender
For sending out TCP packets.
Method Summary |
void |
close()
|
void |
send(InetAddress address,
int port,
byte[] data,
int length)
Sends out packet. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TcpPacketSender
public TcpPacketSender()
send
public void send(InetAddress address,
int port,
byte[] data,
int length)
throws IOException
- Description copied from interface:
PacketSender
- Sends out packet.
- Specified by:
send
in interface PacketSender
- Parameters:
address
- dest addressport
- dest portdata
- data to send outlength
- length of data
- Throws:
IOException
close
public void close()
Copyright © 2002 iReasoning Inc. All Rights Reserved.