Class RouteImpl
java.lang.Object
com.swiftmq.impl.routing.single.route.v400.RouteImpl
- All Implemented Interfaces:
Route
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
int
int
getKey()
int
getType()
boolean
void
readContent
(DataInput in) void
setDestinationRouter
(String destinationRouter) void
setRoutingConnection
(RoutingConnection routingConnection) void
setType
(int type) void
setVersion
(String version) toString()
void
writeContent
(DataOutput out)
-
Constructor Details
-
RouteImpl
-
RouteImpl
public RouteImpl()
-
-
Method Details
-
getType
public int getType() -
setType
public void setType(int type) -
getVersion
- Specified by:
getVersion
in interfaceRoute
-
setVersion
- Specified by:
setVersion
in interfaceRoute
-
getDestinationRouter
- Specified by:
getDestinationRouter
in interfaceRoute
-
setDestinationRouter
- Specified by:
setDestinationRouter
in interfaceRoute
-
getKey
-
getLastHop
- Specified by:
getLastHop
in interfaceRoute
-
addHop
-
hasHop
-
getHopCount
public int getHopCount()- Specified by:
getHopCount
in interfaceRoute
-
getRoutingConnection
- Specified by:
getRoutingConnection
in interfaceRoute
-
setRoutingConnection
- Specified by:
setRoutingConnection
in interfaceRoute
-
getDumpId
public int getDumpId() -
writeContent
- Throws:
IOException
-
readContent
- Throws:
IOException
-
toString
-