cz.cuni.amis.pogamut.base.communication.connection.impl.socket
Class SocketConnectionAddress

Package class diagram package SocketConnectionAddress
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.connection.impl.socket.SocketConnectionAddress
All Implemented Interfaces:
ISocketConnectionAddress, IWorldConnectionAddress

public class SocketConnectionAddress
extends Object
implements ISocketConnectionAddress

Simple implementation of the interface ISocketConnectionAddress.

Author:
Jimmy

Field Summary
static String ADDRESS_DEPENDENCY
           
 
Constructor Summary
SocketConnectionAddress(SocketConnectionAddress address)
           
SocketConnectionAddress(String host, int port)
           
SocketConnectionAddress(URI uri)
           
SocketConnectionAddress(URL url)
           
 
Method Summary
 String getHost()
           
 int getPort()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ADDRESS_DEPENDENCY

public static final String ADDRESS_DEPENDENCY
See Also:
Constant Field Values
Constructor Detail

SocketConnectionAddress

public SocketConnectionAddress(SocketConnectionAddress address)

SocketConnectionAddress

public SocketConnectionAddress(String host,
                               int port)

SocketConnectionAddress

public SocketConnectionAddress(URL url)

SocketConnectionAddress

public SocketConnectionAddress(URI uri)
Method Detail

getHost

public String getHost()
Specified by:
getHost in interface ISocketConnectionAddress

getPort

public int getPort()
Specified by:
getPort in interface ISocketConnectionAddress

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.