hudson.plugins.im
Class AbstractIMConnection

java.lang.Object
  extended by hudson.plugins.im.AbstractIMConnection
All Implemented Interfaces:
IMConnection

public abstract class AbstractIMConnection
extends java.lang.Object
implements IMConnection


Constructor Summary
protected AbstractIMConnection(IMPublisherDescriptor desc)
           
 
Method Summary
protected  void lock()
           
protected  boolean tryLock(long time, java.util.concurrent.TimeUnit timeUnit)
           
protected  void unlock()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hudson.plugins.im.IMConnection
addConnectionListener, close, connect, isConnected, removeConnectionListener, send, setPresence
 

Constructor Detail

AbstractIMConnection

protected AbstractIMConnection(IMPublisherDescriptor desc)
Method Detail

lock

protected final void lock()

tryLock

protected final boolean tryLock(long time,
                                java.util.concurrent.TimeUnit timeUnit)
                         throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

unlock

protected final void unlock()


Copyright © 2010. All Rights Reserved.