com.sun.jini.jeri.internal.runtime
Class Binding

java.lang.Object
  extended by com.sun.jini.jeri.internal.runtime.Binding

 class Binding
extends Object

A bound ListenEndpoint and the associated ListenHandle and RequestDispatcher.

Since:
2.2.0
Author:
Peter Firmstone.

Field Summary
(package private)  boolean activated
           
(package private)  boolean closed
           
private  int exportsInProgress
           
private  ServerEndpoint.ListenEndpoint listenEndpoint
           
private  ServerEndpoint.ListenHandle listenHandle
           
private  java.util.concurrent.ConcurrentMap listenPool
           
private  RequestDispatcher requestDispatcher
           
private  ObjectTable table
           
 
Constructor Summary
Binding(ServerEndpoint.ListenEndpoint listenEndpoint, ObjectTable table, java.util.concurrent.ConcurrentMap listenPool)
           
 
Method Summary
(package private)  boolean activate()
           
(package private)  void checkReferenced()
           
(package private)  void decrementExportInProgress()
           
(package private)  ServerEndpoint.ListenHandle getListenHandle()
           
(package private)  RequestDispatcher getRequestDispatcher()
           
(package private)  boolean incrementExportInProgress()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listenEndpoint

private final ServerEndpoint.ListenEndpoint listenEndpoint

table

private final ObjectTable table

listenPool

private final java.util.concurrent.ConcurrentMap listenPool

requestDispatcher

private RequestDispatcher requestDispatcher

listenHandle

private ServerEndpoint.ListenHandle listenHandle

activated

boolean activated

closed

boolean closed

exportsInProgress

private int exportsInProgress
Constructor Detail

Binding

Binding(ServerEndpoint.ListenEndpoint listenEndpoint,
        ObjectTable table,
        java.util.concurrent.ConcurrentMap listenPool)
  throws IOException
Throws:
IOException
Method Detail

incrementExportInProgress

boolean incrementExportInProgress()

decrementExportInProgress

void decrementExportInProgress()

activate

boolean activate()
           throws IOException
Throws:
IOException

checkReferenced

void checkReferenced()

getRequestDispatcher

RequestDispatcher getRequestDispatcher()

getListenHandle

ServerEndpoint.ListenHandle getListenHandle()


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.