org.jgroups.protocols

Class PingRsp

Implemented Interfaces:
Serializable, Streamable

public class PingRsp
extends java.lang.Object
implements Serializable, Streamable

Field Summary

Address
coord_addr
boolean
is_server
Address
own_addr

Constructor Summary

PingRsp()
PingRsp(Address own_addr, Address coord_addr, boolean is_server)

Method Summary

boolean
equals(Object obj)
Address
getAddress()
Address
getCoordAddress()
boolean
isCoord()
boolean
isServer()
void
readFrom(DataInputStream instream)
Read the state of the current object (including superclasses) from instream Note that the input stream must not be closed
int
size()
String
toString()
void
writeTo(DataOutputStream outstream)
Write the entire state of the current object (including superclasses) to outstream.

Field Details

coord_addr

public Address coord_addr

is_server

public boolean is_server

own_addr

public Address own_addr

Constructor Details

PingRsp

public PingRsp()

PingRsp

public PingRsp(Address own_addr,
               Address coord_addr,
               boolean is_server)

Method Details

equals

public boolean equals(Object obj)

getAddress

public Address getAddress()

getCoordAddress

public Address getCoordAddress()

isCoord

public boolean isCoord()

isServer

public boolean isServer()

readFrom

public void readFrom(DataInputStream instream)
            throws IOException,
                   IllegalAccessException,
                   InstantiationException
Read the state of the current object (including superclasses) from instream Note that the input stream must not be closed
Specified by:
readFrom in interface Streamable

size

public int size()

toString

public String toString()

writeTo

public void writeTo(DataOutputStream outstream)
            throws IOException
Write the entire state of the current object (including superclasses) to outstream. Note that the output stream must not be closed
Specified by:
writeTo in interface Streamable

Copyright B) 1998-2005 Bela Ban. All Rights Reserved.