|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.sgs.impl.transport.tcp.TcpDescriptor
class TcpDescriptor
TCP transport descriptor.
| Field Summary | |
|---|---|
(package private) String |
hostName
|
(package private) int |
listeningPort
|
| Constructor Summary | |
|---|---|
TcpDescriptor(String hostName,
int listeningPort)
Constructor. |
|
| Method Summary | |
|---|---|
byte[] |
getConnectionData()
Return the transport specific connection data as a byte array. |
boolean |
supportsTransport(TransportDescriptor descriptor)
Check if the specified transport is compatible with the transport this descriptor represents. |
String |
toString()
Returns a string representation of this descriptor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
final String hostName
final int listeningPort
| Constructor Detail |
|---|
TcpDescriptor(String hostName,
int listeningPort)
hostName - host namelisteningPort - port transport is listening on| Method Detail |
|---|
public boolean supportsTransport(TransportDescriptor descriptor)
supportsTransport in interface TransportDescriptordescriptor - to compare
true if the specified descriptor represents a transport
compatible with the transport this descriptor represents, and
false otherwisepublic byte[] getConnectionData()
byte array that contains the
following data:
getConnectionData in interface TransportDescriptorpublic String toString()
toString in class Object
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||