java.lang.Object
net.i2p.i2ptunnel.streamr.MultiSource.MSink
- Enclosing class:
MultiSource
Sink wrapper for multi-source destinations.
Field Summary
FieldsModifier and TypeFieldDescriptionfinal DestinationDestination the message is forwarded to.final intLocal port the stream arrived on.final intLocal port the stream should be forwarded from.Constructor Summary
ConstructorsConstructorDescriptionMSink(Destination dest, int fromPort, int toPort) Create a forwarding entry for one destination.Method Summary
All Methods
Field Details
dest
Destination the message is forwarded to.fromPort
public final int fromPortLocal port the stream arrived on.toPort
public final int toPortLocal port the stream should be forwarded from.
Constructor Details
MSink
Create a forwarding entry for one destination.- Parameters:
dest- the destination to forward tofromPort- the local port the stream arrived ontoPort- the local port to forward it from
Method Details
hashCode
equals
toString