Package com.gigaspaces.internal.lrmi
Class ConnectionUrlDescriptor
java.lang.Object
com.gigaspaces.internal.lrmi.ConnectionUrlDescriptor
Provides means for generating connection url from its description and creating the descriptor
from the connection url in its string form.
- Since:
- 9.6
- Author:
- Dan Kilman
-
Constructor Summary
ConstructorsConstructorDescriptionConnectionUrlDescriptor(String protocol, String hostname, int port, long pid, long objectId, long objectClassLoaderId, long lrmiRuntimeId, String serviceDetails) -
Method Summary
Modifier and TypeMethodDescriptionstatic ConnectionUrlDescriptorlonglonglonglonggetPid()intgetPort()toString()toUrl()returns a URL of the following format::// : /pid/<remote-object-id-string>_ NIO://192.168.10.174:53727/pid[7284]/611763683694280_1_7316247838020130362_details[class com.sun.jini.reggie.GigaRegistrar] For future additions to this url please refer to this class test cases to see possible backwards compatability limitations.
-
Constructor Details
-
ConnectionUrlDescriptor
-
-
Method Details
-
getProtocol
-
getHostname
-
getPort
public int getPort() -
getSocketAddress
-
getPid
public long getPid() -
getObjectId
public long getObjectId() -
getObjectClassLoaderId
public long getObjectClassLoaderId() -
getLrmiRuntimeId
public long getLrmiRuntimeId() -
getServiceDetails
-
toString
-
toUrl
returns a URL of the following format::// : /pid/<remote-object-id-string>_ NIO://192.168.10.174:53727/pid[7284]/611763683694280_1_7316247838020130362_details[class com.sun.jini.reggie.GigaRegistrar] For future additions to this url please refer to this class test cases to see possible backwards compatability limitations. In general, it would be better if the closing delimiter of any additional infomration will not be so general. e.g: ] ) } _ This limitation only applies if the additional information is general (i.e. String). In the more specific case where the additional information may be a number, date, etc... any thing that can be described accurately by a regular expression, this closing delimiter limitation probably does not apply. -
fromUrl
-