Log4j 1.3alpha-8

org.apache.log4j.net
Class SocketReceiver.SocketDetail

java.lang.Object
  |
  +--org.apache.log4j.net.SocketReceiver.SocketDetail
All Implemented Interfaces:
AddressBased, NetworkBased, Pauseable, PortBased
Enclosing class:
SocketReceiver

public static class SocketReceiver.SocketDetail
extends Object
implements AddressBased, PortBased, Pauseable


Method Summary
 String getAddress()
          Returns a String representation of the Address this instance encompasses
 String getName()
           
 int getPort()
          Returns the Port # that this net based thing is using
 boolean isActive()
           
 boolean isPaused()
           
 void setPaused(boolean paused)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAddress

public String getAddress()
Description copied from interface: AddressBased
Returns a String representation of the Address this instance encompasses
Specified by:
getAddress in interface AddressBased
Following copied from interface: org.apache.log4j.net.AddressBased
Returns:
String representation of the Address

getPort

public int getPort()
Description copied from interface: PortBased
Returns the Port # that this net based thing is using
Specified by:
getPort in interface PortBased
Following copied from interface: org.apache.log4j.net.PortBased
Returns:
int port number

getName

public String getName()
Specified by:
getName in interface NetworkBased

isActive

public boolean isActive()
Specified by:
isActive in interface NetworkBased

isPaused

public boolean isPaused()
Specified by:
isPaused in interface Pauseable

setPaused

public void setPaused(boolean paused)
Specified by:
setPaused in interface Pauseable

Log4j 1.3alpha-8

Copyright © 2000-2006 Apache Software Foundation.
Licensed under the Apache License, Version 2.0.