MUM.messages
Class ComponentInfo

java.lang.Object
  extended byMUM.messages.ComponentInfo
All Implemented Interfaces:
java.io.Serializable

public class ComponentInfo
extends java.lang.Object
implements java.io.Serializable

This class define the infos of a generic entity composing the service

See Also:
Serialized Form

Field Summary
static java.lang.String CLIENT
           
static java.lang.String PROXY
           
static java.lang.String SERVER
           
 
Constructor Summary
ComponentInfo(java.net.InetAddress serverAddr, int port, java.lang.String type)
          type is one of the constant defined in this class
 
Method Summary
 java.net.InetAddress getInetAddress()
           
 int getPort()
           
 java.lang.String getType()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLIENT

public static final java.lang.String CLIENT
See Also:
Constant Field Values

SERVER

public static final java.lang.String SERVER
See Also:
Constant Field Values

PROXY

public static final java.lang.String PROXY
See Also:
Constant Field Values
Constructor Detail

ComponentInfo

public ComponentInfo(java.net.InetAddress serverAddr,
                     int port,
                     java.lang.String type)
type is one of the constant defined in this class

Method Detail

getInetAddress

public java.net.InetAddress getInetAddress()

getPort

public int getPort()

getType

public java.lang.String getType()

toString

public java.lang.String toString()


Copyright © 2004 Luca Foschini