|
EPP 0.4.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.neulevel.epp.transport.EppMessageUtil
public class EppMessageUtil
This EppSessionUtil class contains some utility methods for
handling message exchanges between an EPP Server and an EPP Client.
| Field Summary | |
|---|---|
static java.lang.String |
eppMessageSize
Property for handling the size of an EPP message. |
| Constructor Summary | |
|---|---|
EppMessageUtil()
|
|
| Method Summary | |
|---|---|
static boolean |
getEppMessageSizeFetchFlag()
Gets the flag for extracting the size of an incoming EPP message |
static boolean |
getEppMessageSizeWriteFlag()
Gets the flag for outputing the size of an outgoing EPP message |
static java.lang.String |
getEppPayload(java.io.InputStream in)
Gets the EPP message payload from an input stream |
static int |
getTimeout()
Gets the timeout values in seconds. |
static void |
putEppPayload(java.io.OutputStream out,
java.lang.String str)
Sends out an outgoing EPP message |
static java.lang.String |
send(java.net.Socket socket,
java.lang.String str)
Sends a string over a socket and reads a string back from the socket |
static void |
setEppMessageSizeFlags(boolean write,
boolean fetch)
Sets the flags for handling EPP message size |
static void |
setTimeout(int seconds)
Sets the timeout values in seconds. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String eppMessageSize
-Dcom.neulevel.epp.transport.EppMessageUtil.eppMessageSize=+output,-fetch
The default values of the property is: +output,+fetch
| Constructor Detail |
|---|
public EppMessageUtil()
| Method Detail |
|---|
public static void setEppMessageSizeFlags(boolean write,
boolean fetch)
public static boolean getEppMessageSizeWriteFlag()
public static boolean getEppMessageSizeFetchFlag()
public static void setTimeout(int seconds)
public static int getTimeout()
public static void putEppPayload(java.io.OutputStream out,
java.lang.String str)
throws java.io.IOException
out - the OutputStream object to which the EPP
message payload is sentstr - the string to be sent out
java.io.IOException
public static java.lang.String send(java.net.Socket socket,
java.lang.String str)
throws java.io.IOException
socket - the socket used for sending the stringstr - the string to be sent over the socket
java.io.IOException
public static java.lang.String getEppPayload(java.io.InputStream in)
throws java.io.IOException
in - the InputStream object from which the EPP
message payload is retrieved
java.io.IOException
|
EPP 0.4.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||